Page MenuHomeSoftware Heritage

D2112.id7079.diff
No OneTemporary

D2112.id7079.diff

diff --git a/docs/developers-info.rst b/docs/developers-info.rst
--- a/docs/developers-info.rst
+++ b/docs/developers-info.rst
@@ -53,8 +53,6 @@
* :mod:`swh.web.manage`: Django management module for developers.
* :mod:`swh.web.urls`: module that holds the whole URI scheme of all
the web applications.
- * :mod:`swh.web.wsgi`: WSGI module to use when deploying the web applications
- in production.
* :mod:`swh.web.settings.common`: Common Django settings
* :mod:`swh.web.settings.development`: Django settings for development
* :mod:`swh.web.settings.production`: Django settings for production
diff --git a/swh/web/settings/common.py b/swh/web/settings/common.py
--- a/swh/web/settings/common.py
+++ b/swh/web/settings/common.py
@@ -86,7 +86,6 @@
},
]
-WSGI_APPLICATION = 'swh.web.wsgi.application'
DATABASES = {
'default': {
diff --git a/swh/web/wsgi.py b/swh/web/wsgi.py
deleted file mode 100644
--- a/swh/web/wsgi.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# Copyright (C) 2017-2018 The Software Heritage developers
-# See the AUTHORS file at the top-level directory of this distribution
-# License: GNU Affero General Public License version 3, or any later version
-# See top-level LICENSE file for more information
-
-import os
-
-from django.core.wsgi import get_wsgi_application
-
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "swh.web.settings.production")
-
-application = get_wsgi_application()

File Metadata

Mime Type
text/plain
Expires
Dec 17 2024, 12:24 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3233137

Event Timeline