diff --git a/django_app/settings_dev.py b/django_app/settings_dev.py index daa9c741..af289971 100644 --- a/django_app/settings_dev.py +++ b/django_app/settings_dev.py @@ -1,37 +1,38 @@ # settings for dev.py import environ # If using in your own project, update the project namespace below from django_app.settings import * env = environ.Env( # set casting, default value DEBUG=(bool, False) ) # False if not in os.environ -DEBUG = env('DEBUG') +#DEBUG = env('DEBUG') +DEBUG = True # Raises django's ImproperlyConfigured exception if SECRET_KEY not in os.environ SECRET_KEY = env('SECRET_KEY') # wildcard to change for production ALLOWED_HOSTS = ['*'] # } DATABASES = { # read os.environ['DATABASE_URL'] and raises ImproperlyConfigured exception if not found 'default': { 'NAME': env('DBNAME'), 'ENGINE': 'django.db.backends.mysql', #mysql.connector.django or django.db.backends.mysql 'USER': env('DBUSER'), 'PASSWORD': env('DBPASSWORD'), 'HOST': env('DBHOST'), } }