From 6ef3732e20d8c63fe0e782a84e6718308664d12a Mon Sep 17 00:00:00 2001 From: dmpayton Date: Wed, 25 Jun 2014 17:43:57 -0700 Subject: [PATCH 1/4] Fixes for Django 1.5+ - Fix imports in urls.py - Replace {% admin_media_prefix %} with {% static %} - Update {% url %} in templates --- .../templates/reportengine/async_wait.html | 5 ++-- .../templates/reportengine/calendar.html | 12 ++++++---- .../templates/reportengine/calendar_day.html | 3 ++- .../reportengine/calendar_month.html | 9 ++++---- reportengine/templates/reportengine/list.html | 12 ++++++---- .../templates/reportengine/report.html | 23 +++++++++++-------- .../reportengine/request_report.html | 23 +++++++++++-------- reportengine/urls.py | 19 +++++++-------- 8 files changed, 60 insertions(+), 46 deletions(-) diff --git a/reportengine/templates/reportengine/async_wait.html b/reportengine/templates/reportengine/async_wait.html index 84f1371..8b216ad 100644 --- a/reportengine/templates/reportengine/async_wait.html +++ b/reportengine/templates/reportengine/async_wait.html @@ -1,5 +1,6 @@ {% extends "admin/base_site.html" %} {% load i18n %} +{% load url from future %} {# TODO note that meta refreshes are deprecated.. but is there a nice clean way to do this otherwise? #} {% block extrahead %} @@ -18,8 +19,8 @@

{% trans "Please wait while your report is generated..." %}

{% block breadcrumbs %}