Hi!!!
I am doing my fist appl and after some struggling I am using
forms.DateField(widget=AdminDateWidget)
in my view, and
<link rel="stylesheet" type="text/css" href="/media/css/base.css" />
<link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
<script type="text/javascript" src="/admin/jsi18n/"></script>
<script type="text/javascript" src="/media/js/core.js"></script>
{{ form.media }}
in my template...
The calendar widget is working ok; but I do not know what jsi18n does
and I am unable to find it any where in the system. Also, I am not
sure of the purpose of {{ form.media }}.
I would apreciate some explanation on the subject!!!!
Regards!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---