Skip to content
Snippets Groups Projects
settings_production.py 429 B
Newer Older
  • Learn to ignore specific revisions
  • """
    This is the settings file used in production.
    First, it imports all default settings, then overrides respective ones.
    Secrets are stored in and imported from an additional file, not set under version control.
    """
    
    from AKPlanning.settings import *
    import AKPlanning.settings_secrets as secrets
    
    
    ### SECURITY ###
    
    DEBUG = False
    
    ALLOWED_HOSTS = secrets.HOSTS
    
    SECRET_KEY = secrets.SECRET_KEY
    
    # TODO: DB, chaching, CSRF etc.