summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-20 19:46:32 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-20 19:46:32 +0100
commit7a6578e2051caca87bea5960fe4b3500e4afd195 (patch)
tree078f9f2417bae50861edb1f68db32671240a05cb /settings.py
parenta2083c53107a8f36a41af2ae2d687b9bcb7be8ed (diff)
downloadtroggle-7a6578e2051caca87bea5960fe4b3500e4afd195.tar.gz
troggle-7a6578e2051caca87bea5960fe4b3500e4afd195.tar.bz2
troggle-7a6578e2051caca87bea5960fe4b3500e4afd195.zip
Now Django 3.2 compatible without deprcation warnings.
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 7e8b1a5..8d34a9c 100644
--- a/settings.py
+++ b/settings.py
@@ -116,6 +116,8 @@ SECURE_BROWSER_XSS_FILTER = True
# CSRF_COOKIE_SECURE = True # if enabled only sends cookies over SSL
X_FRAME_OPTIONS = 'SAMEORIGIN' # change to "DENY" after we eliminate all the iframes e.g. /xmlvalid.html
+DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' # from Django 3.2
+
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',