Django 1.2 admin base template change

Issue #29 resolved
Alex Robbins
created an issue

Django 1.2 changes the admin/base.html to set the admin_prefix using javascript. This isn't in the theming base.html, so using theming breaks the admin javascript calendar.

I think we just need to add this line into the base.html <head> {{{


<script type="text/javascript">window.admin_media_prefix = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script>


Comments (3)

  1. Log in to comment