diff --git a/debian-files/smasch.py b/debian-files/smasch.py index 5a860c1a694174471b8516fc7b2177c903ade16b..8e9b1e703bfd61f75999afc8892ad38c023d38c2 100644 --- a/debian-files/smasch.py +++ b/debian-files/smasch.py @@ -7,8 +7,6 @@ DEBUG = False # Should the static/media files be served by Django SERVE_STATIC = True -WSGI_APPLICATION = 'smash.wsgi.application' - DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', diff --git a/local_settings_ci.py b/local_settings_ci.py index 498971bd66253cec0e393dde57c6ba2a0828734e..09caeac730aabd6840304d79245cb666a577af6f 100644 --- a/local_settings_ci.py +++ b/local_settings_ci.py @@ -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! DEBUG = True -WSGI_APPLICATION = 'smash.wsgi.application' - # Database # https://docs.djangoproject.com/en/1.10/ref/settings/#databases diff --git a/local_settings_ci_sqlite.py b/local_settings_ci_sqlite.py index 2e98aec13d400b12228ab10b4a8c6079527ee217..d0c7dda15d1a8023410e0b5d0d312118e3c90738 100644 --- a/local_settings_ci_sqlite.py +++ b/local_settings_ci_sqlite.py @@ -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! DEBUG = True -WSGI_APPLICATION = 'smash.wsgi.application' - # Database # https://docs.djangoproject.com/en/1.10/ref/settings/#databases diff --git a/smash/smash/local_settings.py.template b/smash/smash/local_settings.py.template index dbbf01a34f1d159b043df629b989615a57674971..8fb9f31df0b5dd928cae43f4ff7529924a8254b9 100644 --- a/smash/smash/local_settings.py.template +++ b/smash/smash/local_settings.py.template @@ -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! DEBUG = True -WSGI_APPLICATION = 'smash.wsgi.application' - IMPORTER_USER = 'admin' #username EMAIL_USE_TLS = False diff --git a/smash/smash/settings.py b/smash/smash/settings.py index edaaa38ada3e74eb94a52f64e755b527497e5f30..15be4ea9c4cd68270d4226892658989016d80985 100644 --- a/smash/smash/settings.py +++ b/smash/smash/settings.py @@ -20,6 +20,8 @@ PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) DEBUG = True +WSGI_APPLICATION = 'smash.wsgi.application' + SERVE_STATIC = False # Application definition