I have a search form where I would like to add the calendar widget for
the date fields.

I have been looking at the admin code but I wanted to know if there was
any other examples out there.

Looking at some other threads I have implemented these steps

1) add an entry to my site's urlpatterns
(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages':
'django.conf'}),


2) add the following code to the start of the "form" template page.
<script type="text/javascript" src="/jsi18n/"></script>
<script type="text/javascript" src="/media/js/core.js"></script><script

type="text/javascript"
src="/media/js/admin/RelatedObjectLookups.js"></script><script
type="text/javascript" src="/media/js/calendar.js"></script><script
type="text/javascript"
src="/media/js/admin/DateTimeShortcuts.js"></script>


But, I seem to get hung up on how you implement the specify text field
to display
the calendar widget.

Thanks,
Jeff


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to