summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Jean Louis <izimobil@gmail.com>2015-07-04 13:12:46 (GMT)
committerDavid Jean Louis <izimobil@gmail.com>2015-07-04 13:12:46 (GMT)
commitf2f32b0bc953fe9758ca3e1485a55308ffaadcab (patch)
tree86c497565ce96d773c0bc7138ff022130b62d7ff
parent3a0bf2c40c781b00fc390c6213f60415f32e1811 (diff)
downloaddjango-admin-tools-f2f32b0bc953fe9758ca3e1485a55308ffaadcab.zip
django-admin-tools-f2f32b0bc953fe9758ca3e1485a55308ffaadcab.tar.gz
django-admin-tools-f2f32b0bc953fe9758ca3e1485a55308ffaadcab.tar.bz2
Fixed Django 1.8 deprecation warnings on "cycle" and "firstof" template tags
-rw-r--r--admin_tools/dashboard/templates/admin_tools/dashboard/modules/feed.html1
-rw-r--r--admin_tools/dashboard/templates/admin_tools/dashboard/modules/link_list.html1
-rw-r--r--admin_tools/dashboard/templates/admin_tools/dashboard/modules/recent_actions.html2
-rw-r--r--admin_tools/menu/templates/admin_tools/menu/add_bookmark_form.html1
-rw-r--r--admin_tools/menu/templates/admin_tools/menu/remove_bookmark_form.html1
-rw-r--r--admin_tools/theming/templates/admin/base.html1
6 files changed, 6 insertions, 1 deletions
diff --git a/admin_tools/dashboard/templates/admin_tools/dashboard/modules/feed.html b/admin_tools/dashboard/templates/admin_tools/dashboard/modules/feed.html
index 579ca8a..3600909 100644
--- a/admin_tools/dashboard/templates/admin_tools/dashboard/modules/feed.html
+++ b/admin_tools/dashboard/templates/admin_tools/dashboard/modules/feed.html
@@ -1,4 +1,5 @@
{% extends "admin_tools/dashboard/module.html" %}
+{% load cycle from future %}
{% block module_content %}
<ul>
{% spaceless %}
diff --git a/admin_tools/dashboard/templates/admin_tools/dashboard/modules/link_list.html b/admin_tools/dashboard/templates/admin_tools/dashboard/modules/link_list.html
index 68e639a..62b01eb 100644
--- a/admin_tools/dashboard/templates/admin_tools/dashboard/modules/link_list.html
+++ b/admin_tools/dashboard/templates/admin_tools/dashboard/modules/link_list.html
@@ -1,4 +1,5 @@
{% extends "admin_tools/dashboard/module.html" %}
+{% load cycle from future %}
{% block module_content %}
<ul class="{{ module.layout }}">
{% spaceless %}
diff --git a/admin_tools/dashboard/templates/admin_tools/dashboard/modules/recent_actions.html b/admin_tools/dashboard/templates/admin_tools/dashboard/modules/recent_actions.html
index 216af77..387341f 100644
--- a/admin_tools/dashboard/templates/admin_tools/dashboard/modules/recent_actions.html
+++ b/admin_tools/dashboard/templates/admin_tools/dashboard/modules/recent_actions.html
@@ -1,5 +1,5 @@
{% extends "admin_tools/dashboard/module.html" %}
-{% load i18n %}
+{% load i18n %}{% load cycle from future %}
{% block module_content %}
<ul>
{% spaceless %}
diff --git a/admin_tools/menu/templates/admin_tools/menu/add_bookmark_form.html b/admin_tools/menu/templates/admin_tools/menu/add_bookmark_form.html
index 8b84606..f9e7bea 100644
--- a/admin_tools/menu/templates/admin_tools/menu/add_bookmark_form.html
+++ b/admin_tools/menu/templates/admin_tools/menu/add_bookmark_form.html
@@ -1,3 +1,4 @@
+{% load firstof from future %}
{% url 'admin-tools-menu-add-bookmark' as form_url %}
{% if form_url %}
<form id="bookmark-form" action="{{ form_url }}" method="POST">
diff --git a/admin_tools/menu/templates/admin_tools/menu/remove_bookmark_form.html b/admin_tools/menu/templates/admin_tools/menu/remove_bookmark_form.html
index 671f4b2..516e515 100644
--- a/admin_tools/menu/templates/admin_tools/menu/remove_bookmark_form.html
+++ b/admin_tools/menu/templates/admin_tools/menu/remove_bookmark_form.html
@@ -1,3 +1,4 @@
+{% load firstof 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">
diff --git a/admin_tools/theming/templates/admin/base.html b/admin_tools/theming/templates/admin/base.html
index 1d38d7e..65ae1c1 100644
--- a/admin_tools/theming/templates/admin/base.html
+++ b/admin_tools/theming/templates/admin/base.html
@@ -1,4 +1,5 @@
{% load theming_tags %}
+{% load firstof from future %}
<!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 %}>
<head>