Answers for "django form date picker"

0

django form date picker

INSTALLED_APPS = [
    'bootstrap_datepicker_plus',
]
Posted by: Guest on December-08-2020
-2

django form date picker

from .models import Hello
from django import forms
from bootstrap_datepicker_plus import DatePickerInput

class CreateForm(forms.ModelForm):
    class Meta:
        model = Hello
        fields =[            
            "Date",
        ]

    widgets = {
        'Date': DatePickerInput(),
    }
Posted by: Guest on December-08-2020

Python Answers by Framework

Browse Popular Code Answers by Language