From d98d8d013c2dff7431585a26038197cd3686e5cc Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Fri, 7 Jan 2022 16:47:09 +0100 Subject: [PATCH] Update to Django 3.2 --- WikiENS/settings/common.py | 1 + requirements.txt | 4 ++-- shared/templates/wiki/base.html | 3 +-- wiki_groups/templates/wiki_groups/list.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WikiENS/settings/common.py b/WikiENS/settings/common.py index a9a6e6d..5e78470 100644 --- a/WikiENS/settings/common.py +++ b/WikiENS/settings/common.py @@ -113,6 +113,7 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = "django.db.models.AutoField" # Password validation # https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators diff --git a/requirements.txt b/requirements.txt index c946d06..a09907a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -Django==2.2.* +Django==3.2.* git+https://git.eleves.ens.fr/klub-dev-ens/django-allauth-ens.git@1.1.3 -wiki==0.7 +wiki==0.7.* diff --git a/shared/templates/wiki/base.html b/shared/templates/wiki/base.html index ff5d311..8370016 100644 --- a/shared/templates/wiki/base.html +++ b/shared/templates/wiki/base.html @@ -1,6 +1,5 @@ {% extends "wiki/base_site.html" %} -{% load i18n staticfiles %} -{% load sekizai_tags %} +{% load i18n static sekizai_tags %} {% block wiki_site_title %} - WikiENS{% endblock %} diff --git a/wiki_groups/templates/wiki_groups/list.html b/wiki_groups/templates/wiki_groups/list.html index 3b38d91..7798dd8 100644 --- a/wiki_groups/templates/wiki_groups/list.html +++ b/wiki_groups/templates/wiki_groups/list.html @@ -1,5 +1,5 @@ {% extends "wiki/base.html" %} -{% load staticfiles %} +{% load static %} {% block wiki_site_title %}Groupes - WikiENS{% endblock %}