mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-25 17:21:15 +00:00
Fixed Settings
This commit is contained in:
parent
8328e668bd
commit
5ca8a22123
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user