Is it a good idea to reuse admin's JS datepicker widget in other apps, and if so, what's the best way?
I'm using django.contrib.admin.widgets.AdminDateWidget in my form, and I've added these JS tags to my template: admin/DateTimeShortcuts.js admin/RelatedObjectLookups.js calendar.js core.js This gets the datepicker icon to show up, but clicking it does nothing. I'm assuming I probably need some CSS includes as well, but I'm not sure which CSS files to include, or if the admin style sheets will start to conflict with my apps style sheets. Regards, Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---