I am trying to add a calendar date input to one of my forms. There is a wonderful calendar widget that Django uses on its admin pages, but I can\'t figure out how to add it to a
You can do this by form widget " SelectDateWidget()" like this example:
class MyForm(forms.Form): start_date=forms.DateField(widget = forms.SelectDateWidget()) end_date=forms.DateField(widget = forms.SelectDateWidget())