Skip to content
Snippets Groups Projects
Commit 7460fa89 authored by Benjamin Hättasch's avatar Benjamin Hättasch Committed by Nadja Geisler
Browse files

Introduce default auto field setting (django 4.1 compatibility)

This removes a compatibility warning (Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField') for django 4.1
parent ffeb920c
No related branches found
No related tags found
1 merge request!134Upgrade Django to 3.2
Pipeline #107518 failed
...@@ -99,6 +99,8 @@ TEMPLATES = [ ...@@ -99,6 +99,8 @@ TEMPLATES = [
WSGI_APPLICATION = 'AKPlanning.wsgi.application' WSGI_APPLICATION = 'AKPlanning.wsgi.application'
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
# Database # Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases # https://docs.djangoproject.com/en/2.2/ref/settings/#databases
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment