Re: how to add datepicker (available in admin)
i followed the steps but i m ngetting following error
Reverse for 'jsi18n' with arguments '()' and keyword arguments '{}' not found.
Regards
Vasil Mir
On Thursday, 5 May 2011 19:53:52 UTC+5:30, Tom Evans wrote:
On Wed, May 4, 2011 at 9:53 AM, GKR <ranag...@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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/9VCC2jH2Hr0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home