There is a nice stack overflow question on this: http://stackoverflow.com/questions/38601/using-django-time-date-widgets-in-custom-form <http://stackoverflow.com/questions/38601/using-django-time-date-widgets-in-custom-form>
On Wed, Feb 16, 2011 at 10:26 AM, Szabo, Patrick (LNG-VIE) < patrick.sz...@lexisnexis.at> wrote: > Hi, > > > > I built my own view where users can add new DB-entries. > > I have a DateField and generated the Form for it directly from the model > but i don’t see this calender-icon like i do in the admin panel. > > How can I add it ?! > > > > Is it enough to just reference to the .js in the template !? (doesn’t seem > to work) > > > > Kind regards > > . . . . . . . . . . . . . . . . . . . . . . . . . . > > ** > > Patrick Szabo > XSLT-Entwickler > > LexisNexis > Marxergasse 25, 1030 Wien > > patrick.sz...@lexisnexis.at > > Tel.: +43 (1) 534 52 - 1573 > > Fax: +43 (1) 534 52 - 146 > > > > -- > 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. > -- 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.