From 8f0a80d322e42d226c33fa2a568a8ddf86c1a6fc Mon Sep 17 00:00:00 2001 From: Darrell Enns Date: Mon, 18 Mar 2013 11:41:43 -0700 Subject: [PATCH] added url tag compatibility fix for django <1.5 added django 1.5 to travis --- .travis.yml | 1 + helpdesk/templates/helpdesk/base.html | 1 + helpdesk/templates/helpdesk/dashboard.html | 2 +- helpdesk/templates/helpdesk/email_ignore_list.html | 2 +- helpdesk/templates/helpdesk/help_api.html | 2 +- helpdesk/templates/helpdesk/help_base.html | 1 + helpdesk/templates/helpdesk/navigation.html | 2 +- helpdesk/templates/helpdesk/public_base.html | 2 +- helpdesk/templates/helpdesk/public_homepage.html | 2 +- helpdesk/templates/helpdesk/public_view_form.html | 2 +- helpdesk/templates/helpdesk/registration/login.html | 2 +- helpdesk/templates/helpdesk/rss_list.html | 2 +- helpdesk/templates/helpdesk/system_settings.html | 2 +- helpdesk/templates/helpdesk/ticket.html | 2 +- helpdesk/templates/helpdesk/ticket_cc_add.html | 2 +- helpdesk/templates/helpdesk/ticket_cc_del.html | 2 +- helpdesk/templates/helpdesk/ticket_cc_list.html | 2 +- helpdesk/templates/helpdesk/ticket_dependency_add.html | 2 +- helpdesk/templates/helpdesk/ticket_dependency_del.html | 2 +- helpdesk/templates/helpdesk/ticket_desc_table.html | 2 +- helpdesk/templates/helpdesk/ticket_list.html | 2 +- helpdesk/templates/helpdesk/user_settings.html | 2 +- 22 files changed, 22 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf3e3968..7846c696 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: env: - DJANGO=1.4.3 - DJANGO=1.3.5 + - DJANGO=1.5.0 install: - pip install argparse --use-mirrors - pip install -q Django==$DJANGO --use-mirrors diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html index 3d276d65..c4732afd 100644 --- a/helpdesk/templates/helpdesk/base.html +++ b/helpdesk/templates/helpdesk/base.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load url from future %} {% load saved_queries %} {% load load_helpdesk_settings %} {% with request|load_helpdesk_settings as helpdesk_settings %} diff --git a/helpdesk/templates/helpdesk/dashboard.html b/helpdesk/templates/helpdesk/dashboard.html index 5423590f..ef2f9082 100644 --- a/helpdesk/templates/helpdesk/dashboard.html +++ b/helpdesk/templates/helpdesk/dashboard.html @@ -1,4 +1,4 @@ -{% extends "helpdesk/base.html" %}{% load i18n %} +{% extends "helpdesk/base.html" %}{% load i18n %}{% load url from future %} {% block helpdesk_title %}{{ helpdesk_settings.HELPDESK_PREPEND_ORG_NAME|default:'' }} {% trans "Helpdesk Dashboard" %}{% endblock %} {% block helpdesk_head %} diff --git a/helpdesk/templates/helpdesk/email_ignore_list.html b/helpdesk/templates/helpdesk/email_ignore_list.html index 3ef75c4d..f72286e2 100644 --- a/helpdesk/templates/helpdesk/email_ignore_list.html +++ b/helpdesk/templates/helpdesk/email_ignore_list.html @@ -1,4 +1,4 @@ -{% extends "helpdesk/base.html" %}{% load i18n %} +{% extends "helpdesk/base.html" %}{% load i18n %}{% load url from future %} {% block helpdesk_title %}{% trans "Ignored E-Mail Addresses" %}{% endblock %} diff --git a/helpdesk/templates/helpdesk/help_api.html b/helpdesk/templates/helpdesk/help_api.html index bcb7cb92..888992f2 100644 --- a/helpdesk/templates/helpdesk/help_api.html +++ b/helpdesk/templates/helpdesk/help_api.html @@ -1,4 +1,4 @@ -{% extends "helpdesk/help_base.html" %} +{% extends "helpdesk/help_base.html" %}{% load url from future %} {% block title %}django-helpdesk API Documentation{% endblock %} {% block heading %}django-helpdesk API Documentation{% endblock %} diff --git a/helpdesk/templates/helpdesk/help_base.html b/helpdesk/templates/helpdesk/help_base.html index 03dbee2b..11903d2d 100644 --- a/helpdesk/templates/helpdesk/help_base.html +++ b/helpdesk/templates/helpdesk/help_base.html @@ -1,3 +1,4 @@ +{% load url from future %}