Using Django admin DateTime widget in my app

61 views
Skip to first unread message

Sachin Gupta

unread,
Oct 5, 2011, 2:15:50 AM10/5/11
to django...@googlegroups.com
Hello Everyone

I am totally new to Django and am finding it a fun experience to learn.

Actually I need to make a form where I have to accept Date and Time for some sort of appointment. Django admin already has this widget.
Will it be possible for me to use that directly? I read in an article that it is basically a hack and can cause problems if the widget is changed later on.

Is there any feature using which I can provide the calender widget and validate the Date Time field using some Django feature? Or I will have to use some
other js calender widget?

Cheers
Sachin
Reply all
Reply to author
Forward
0 new messages