From 5ca8a22123c21823b40e793dc0cbbd9672260d40 Mon Sep 17 00:00:00 2001 From: klmp200 Date: Sun, 4 Sep 2016 14:19:56 +0200 Subject: [PATCH] Fixed Settings --- sith/settings_sample.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sith/settings_sample.py b/sith/settings_sample.py index d6923cef..3b39a796 100644 --- a/sith/settings_sample.py +++ b/sith/settings_sample.py @@ -17,13 +17,8 @@ from django.utils.translation import ugettext_lazy as _ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -DEV_ENV = True - -if (DEV_ENV): - os.environ['HTTPS'] = "off" - EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' -else: - os.environ['HTTPS'] = "on" +os.environ['HTTPS'] = "off" +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/