From 5eb3c7d958a938a6f03bb868b963e9d8d853af72 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 22 Sep 2015 18:26:04 +0200 Subject: [PATCH] Add compatibility with recent Django versions --- stages/admin.py | 1 + templates/admin/index.html | 1 - templates/attribution.html | 1 - templates/corporation.html | 1 - templates/corporations.html | 1 - templates/trainings_list.html | 1 - 6 files changed, 1 insertion(+), 5 deletions(-) diff --git a/stages/admin.py b/stages/admin.py index 82f21c3..f629a64 100644 --- a/stages/admin.py +++ b/stages/admin.py @@ -73,6 +73,7 @@ class AvailabilityAdminForm(forms.ModelForm): class Meta: model = Availability + fields = '__all__' widgets = { 'num_avail': forms.TextInput(attrs={'size': 3}), } diff --git a/templates/admin/index.html b/templates/admin/index.html index ca10402..9261f63 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -1,6 +1,5 @@ {% extends "admin/base_site.html" %} {% load i18n admin_static %} -{% load url from future %} {% block extrastyle %}{{ block.super }} diff --git a/templates/attribution.html b/templates/attribution.html index d490bb3..693e456 100644 --- a/templates/attribution.html +++ b/templates/attribution.html @@ -1,6 +1,5 @@ {% extends "admin/base_site.html" %} {% load i18n admin_static %} -{% load url from future %} {% block extrastyle %}