mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	add ALLOWED_HOSTS to local variables
This commit is contained in:
		@@ -32,6 +32,7 @@ if app_stage == 'prod':
 | 
			
		||||
    from .production import *
 | 
			
		||||
    DATABASES["default"]["PASSWORD"] = os.environ.get('DJANGO_DB_PASSWORD','CHANGE_ME_IN_ENV_SETTINGS');
 | 
			
		||||
    SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY','CHANGE_ME_IN_ENV_SETTINGS');
 | 
			
		||||
    ALLOWED_HOSTS.append(os.environ.get('ALLOWED_HOSTS','localhost'));
 | 
			
		||||
else:
 | 
			
		||||
    from .development import *
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user