Explorar el Código

CSRF_TRUSTED_ORIGINS added to config

master
Dirk Alders hace 1 año
padre
commit
a6c61ee3f3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      main/settings.py

+ 1
- 0
main/settings.py Ver fichero

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

Loading…
Cancelar
Guardar