change settings.py variable for https trusted domains
This commit is contained in:
1 parent
2ebc57fa98
commit
0fd3a43c4b
1 file changed
+1
@@ -31,6 +31,7 @@ SECRET_KEY = os.getenv('SECRET_KEY')
|
||||
DEBUG = os.getenv('DEBUG') == 'True'
|
||||
|
||||
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', 'localhost').split(',')
|
||||
CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split(',')
|
||||
|
||||
|
||||
# Application definition
|
||||
|
||||
Reference in new issue
Block a user