I'm trying to use the date/time entry widgets from admin and I get this 
javascript error and the controls don't render.

Where is this supposed to come from?

In annoyance, I have copied the head section precisely from an admin page that 
work.  Still doesn't work in my page.

    <link rel="stylesheet" type="text/css" href="/media/css/base.css" />
    <link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
    <!--[if lte IE 7]><link rel="stylesheet" type="text/css" 
href="/media/css/ie.css" /><![endif]-->


    <script type="text/javascript" src="../../../jsi18n/"></script>
    <link href="/static/olwidget/css/olwidget.css" type="text/css" media="all" 
rel="stylesheet" />
    <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/getElementsBySelector.js"></script>
    <script type="text/javascript" src="/media/js/actions.js"></script>
    <script type="text/javascript" src="/media/js/calendar.js"></script>
    <script type="text/javascript" 
src="/media/js/admin/DateTimeShortcuts.js"></script>
    <script type="text/javascript" 
src="http://openlayers.org/api/2.8/OpenLayers.js";></script>
    <script type="text/javascript" 
src="/static/olwidget/js/olwidget.js"></script>
    <script type="text/javascript" 
src="http://openstreetmap.org/openlayers/OpenStreetMap.js";></script>

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.


Reply via email to