Added {% load url from future %} directives to maintain compatibility with Django 1.3 and 1.4.

This commit is contained in:
Aram Dulyan 2013-02-15 17:29:57 +11:00
parent 375d9aeb98
commit d83af4a5be
4 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{% load i18n admin_tools_dashboard_tags %}
{% load url from future %}
<script type="text/javascript" src="{{ media_url }}/admin_tools/js/utils.js"></script>
<script type="text/javascript" charset="utf-8">

View File

@ -1,3 +1,4 @@
{% load url from future %}
{% url 'admin-tools-menu-add-bookmark' as form_url %}
{% if form_url %}
<form id="bookmark-form" action="{{ form_url }}" method="POST">

View File

@ -1,3 +1,4 @@
{% load url from future %}
{% url 'admin-tools-menu-remove-bookmark' bookmark.id as form_url%}
{% if form_url %}
<form id="bookmark-form" action="{{ form_url }}" method="POST">

View File

@ -1,3 +1,4 @@
{% load url from future %}
{% load theming_tags staticfiles %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>