Skip to content
Snippets Groups Projects
Commit ccf08f77 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

WSGI_APPLICATION moved to settings.py

parent 89b7c4d4
No related branches found
No related tags found
1 merge request!271Resolve "clean configuration"
...@@ -7,8 +7,6 @@ DEBUG = False ...@@ -7,8 +7,6 @@ DEBUG = False
# Should the static/media files be served by Django # Should the static/media files be served by Django
SERVE_STATIC = True SERVE_STATIC = True
WSGI_APPLICATION = 'smash.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
......
...@@ -4,8 +4,6 @@ SECRET_KEY = 'Paste long random string here' # Insert long random string ...@@ -4,8 +4,6 @@ SECRET_KEY = 'Paste long random string here' # Insert long random string
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
WSGI_APPLICATION = 'smash.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases # https://docs.djangoproject.com/en/1.10/ref/settings/#databases
......
...@@ -4,8 +4,6 @@ SECRET_KEY = 'Paste long random string here' # Insert long random string ...@@ -4,8 +4,6 @@ SECRET_KEY = 'Paste long random string here' # Insert long random string
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
WSGI_APPLICATION = 'smash.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases # https://docs.djangoproject.com/en/1.10/ref/settings/#databases
......
...@@ -4,8 +4,6 @@ SECRET_KEY = 'Paste long random string here' # Insert long random string ...@@ -4,8 +4,6 @@ SECRET_KEY = 'Paste long random string here' # Insert long random string
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
WSGI_APPLICATION = 'smash.wsgi.application'
IMPORTER_USER = 'admin' #username IMPORTER_USER = 'admin' #username
EMAIL_USE_TLS = False EMAIL_USE_TLS = False
......
...@@ -20,6 +20,8 @@ PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) ...@@ -20,6 +20,8 @@ PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
DEBUG = True DEBUG = True
WSGI_APPLICATION = 'smash.wsgi.application'
SERVE_STATIC = False SERVE_STATIC = False
# Application definition # Application definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment