how to use a custom calendar int he django backend?
I have a Date of bir开发者_开发技巧th field in my admin form of my django app. When a user has to select a date he must click back month by month. An old person has to click a lot (If born in 1970 and the calendar starts on 2011 for example).
Is there a way to select year by clicking on it? Or to load a difference calendar widget completely i.e. jquery-calendar? How can I do either of these?
Thanks.
If you're not happy with the default Django form widgets, any of the widgets, your recourse is to create your own or subclass and modify one of the existing. There's tons of posts online about this topic. As always, Google is your friend.
Specifically concerning jQuery Datepicker, I found this gist (updated), which might be helpful to you.
精彩评论