Hi,

I try to use AdminDateWidget outside of the admin page, like documented:
http://docs.djangoproject.com/en/dev/topics/forms/media/

form.media returns:
<script type="text/javascript" 
src="/media/modwork_esg/admin/js/calendar.js"></script>
<script type="text/javascript" 
src="/media/modwork_esg/admin/js/admin/DateTimeShortcuts.js"></script>

But still some files are missing: jsi18n and core.js:
    <script type="text/javascript" src="%(script_name)s/admin/jsi18n/"></script>
    <script type="text/javascript" src="%(media_url)sadmin/js/core.js"></script>

Now the widget is usable, but looks ugly. Some css files are missing....

After adding widgets.css it works.

Is this a bug or an undocumented feature?

  Thomas


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to