Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 1c9a506d21b508f208b2bcd5410ecd4b27f62560 1 parent 0f87919
@spookylukey spookylukey authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/contrib/admin/templates/admin/change_form.html
View
3  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 %}
Please sign in to comment.
Something went wrong with that request. Please try again.