On Wed, May 4, 2011 at 9:53 AM, GKR <ranagou...@gmail.com> wrote: > thanks but its giving an error like > > name 'AdminDateWidget' is not defined > > please help it might be a configuration problem > > please help > > thanks >
I wrote: > Then modify your form to use the admin date picker widget: > > from django.contrib.admin.widgets import AdminDateWidget > class MyForm(forms.Form): > some_date = forms.DateField(widget=AdminDateWidget()) I think you need to re-read that. Cheers Tom -- 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.