I have this Datetime field in Django
update_date = models.DateField()
But I want the Calendar to pop up. In docs, they say to write this
class CalendarWidget(forms.TextInput):
class Media:
css = {
'all': ('pretty.css',)
}
js = ('animations.js', 'actions.js')
Now I have a few problems:
- Where to declare this class and how to use it
- I don't have pretty.css , animation.css , how can get it
- Do I need to do programming for it??