datepicker without admin
“”"I use something like this (after adding in the JS) to create a form with a date field that works like the admin:
from django import forms
from django.contrib.admin import widgets
class FooForm(forms.Form):
bar = forms.DateField(widget=widgets.AdminDateWidget)
“”"