Skip to content

Instantly share code, notes, and snippets.

@kjmczk
Created May 23, 2019 05:31
Show Gist options
  • Save kjmczk/ef5e029a41f01c246b0e61edbfedbb5b to your computer and use it in GitHub Desktop.
Save kjmczk/ef5e029a41f01c246b0e61edbfedbb5b to your computer and use it in GitHub Desktop.
Django mSettings 2 - Blog
# settings/production.py
from .base import *
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
ALLOWED_HOSTS = ['yourcustomdomain.com', '.yourcustomdomain.com']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment