You'll need to include the javascript in your base.html template (or
for the forms that need it) from the admin css/js site:
If I recall, you'll need to use the proper class names in your
template (class="vDateField" class="vTimeField" )
:
Date:
Time:
--~--~-~--~~---
I am writing an app that makes heavy use of generic views. I have
several forms which include date fields and I want to know how to
attach a widget to the field for entering the date (like the one used
in the admin site).
Am I making sense?
--~--~-~--~~~---~--~~
I am writing an app that makes heavy use of generic views. I have
several forms which include date fields and I want to know how to
attach a widget to the field for entering the date (like the one used
in the admin site).
Am I making sense?
--~--~-~--~~~---~--~~
3 matches
Mail list logo