diff --git a/environment/env b/environment/env index 0137147..e36bf38 100755 --- a/environment/env +++ b/environment/env @@ -1,3 +1,2 @@ DEBUG=true -EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend SECRET_KEY=%*v!183hd8(4j)hg6ylyor34iq_um^&k!0pk_1efn_$j76=so2 diff --git a/project/settings.py b/project/settings.py index 91d7c4e..f74f5bf 100755 --- a/project/settings.py +++ b/project/settings.py @@ -6,10 +6,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) ALLOWED_HOSTS = ['*'] # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.environ['DEBUG'] # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'n_v3f*dcdg=ni-9ftiyo@c2%gkcr=qg(2bni)4borex-$9&1$v' +SECRET_KEY = os.environ['SECRET_KEY'] EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'