how to use django date picker code example
Example 1: django form date picker
INSTALLED_APPS = [
'bootstrap_datepicker_plus',
]
Example 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(),
}