Commits

Aram Dulyan committed da505e8

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

Comments (0)

Files changed (4)

admin_tools/dashboard/templates/admin_tools/dashboard/dashboard.html

 {% 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">

admin_tools/menu/templates/admin_tools/menu/add_bookmark_form.html

+{% 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">

admin_tools/menu/templates/admin_tools/menu/remove_bookmark_form.html

+{% 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">

admin_tools/theming/templates/admin/base.html

+{% 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 %}>