Skip to content
Snippets Groups Projects
Commit 31472554 authored by Benjamin Hättasch's avatar Benjamin Hättasch
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 ea342527
No related branches found
No related tags found
No related merge requests found
Pipeline #105725 passed
......@@ -99,6 +99,8 @@ TEMPLATES = [
WSGI_APPLICATION = 'AKPlanning.wsgi.application'
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
# Database
# 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