diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-12-02 14:26:42 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-12-02 14:26:42 +0000 |
| commit | 1c9a506d21b508f208b2bcd5410ecd4b27f62560 (patch) | |
| tree | a2d927220214cd3cc6877041f124b9f105ddd9e6 | |
| parent | 0f879195a6bf2778359020e2f8afff4b6e670ca1 (diff) | |
Fixed a use of old url template tag in an admin template.
This was missed from r14643. I grepped for other instances and this was the
only one missing that I could find.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/admin/templates/admin/change_form.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index 7c96628963..1689c5b48e 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -1,8 +1,9 @@ {% extends "admin/base_site.html" %} {% load i18n admin_modify adminmedia %} +{% load url from future %} {% block extrahead %}{{ block.super }} -{% url admin:jsi18n as jsi18nurl %} +{% url 'admin:jsi18n' as jsi18nurl %} <script type="text/javascript" src="{{ jsi18nurl|default:"../../../jsi18n/" }}"></script> {{ media }} {% endblock %} |
