Browse Source

CSRF_TRUSTED_ORIGINS added to config

master
Dirk Alders 1 year ago
parent
commit
a6c61ee3f3
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      main/settings.py

+ 1
- 0
main/settings.py View File

40
     'DEBUG': False,
40
     'DEBUG': False,
41
     'SECRET_KEY': None,
41
     'SECRET_KEY': None,
42
     'ALLOWED_HOSTS': ['127.0.0.1', ],
42
     'ALLOWED_HOSTS': ['127.0.0.1', ],
43
+    'CSRF_TRUSTED_ORIGINS': [],
43
     'DEFAULT_THEME': 'clear-red',
44
     'DEFAULT_THEME': 'clear-red',
44
     'ITEM_ROOT': os.path.join(BASE_DIR, 'data', 'example_data'),
45
     'ITEM_ROOT': os.path.join(BASE_DIR, 'data', 'example_data'),
45
     'THUMBNAIL_SIZES': [137, 175, 250],
46
     'THUMBNAIL_SIZES': [137, 175, 250],

Loading…
Cancel
Save