From 1c9a506d21b508f208b2bcd5410ecd4b27f62560 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 2 Dec 2010 14:26:42 +0000 Subject: [PATCH] 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 --- django/contrib/admin/templates/admin/change_form.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index 7c96628963c..1689c5b48e7 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 %} {{ media }} {% endblock %}