Added compatibility with Django 1.5. New minimum version is 1.4.

This commit is contained in:
Kelketek 2013-03-23 14:20:41 -05:00
parent 0f2762d5f2
commit 9d0b8b5fe7
8 changed files with 22 additions and 24 deletions

View file

@ -1,6 +1,5 @@
{% extends "admin/base_site.html" %}
{% load i18n admin_modify adminmedia %}
{% load url from future %}
{% load i18n admin_modify admin_static %}
{% block extrahead %}{{ block.super }}
{% url 'admin:jsi18n' as jsi18nurl %}
@ -8,7 +7,7 @@
{{ media }}
{% endblock %}
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />{% endblock %}
{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}