Skip to content
Snippets Groups Projects
Commit 079df1cc authored by Neda Moeini's avatar Neda Moeini
Browse files

Add CSRF_TRUSTED_ORIGINS in the setting

parent f9d08501
No related branches found
No related tags found
No related merge requests found
......@@ -129,4 +129,6 @@ STATICFILES_DIRS = [
]
MEDIA_ROOT = os.getenv("MEDIA_ROOT", BASE_DIR / "media")
MEDIA_URL = '/media/'
\ No newline at end of file
MEDIA_URL = '/media/'
CSRF_TRUSTED_ORIGINS = ALLOWED_HOSTS
\ No newline at end of file
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