forked from expo/troggle
Now Django 3.2 compatible without deprcation warnings.
This commit is contained in:
@@ -116,6 +116,8 @@ SECURE_BROWSER_XSS_FILTER = True
|
|||||||
# CSRF_COOKIE_SECURE = True # if enabled only sends cookies over SSL
|
# 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
|
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 = (
|
INSTALLED_APPS = (
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
'django.contrib.auth',
|
'django.contrib.auth',
|
||||||
|
|||||||
Reference in New Issue
Block a user