From a25c406975ee2bcd35f2b70b3c9eacb8c69759e7 Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Tue, 9 Jul 2019 09:00:31 +0800 Subject: [PATCH] Remove gunicorn from installed apps I can't find the requirement of adding it to INSTALLED_APPS on the Django or the Gunicorn docs. https://docs.gunicorn.org/en/latest/run.html?highlight=django#django https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/gunicorn/ --- {{cookiecutter.project_slug}}/config/settings/production.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index d838dc4f..214353de 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -179,10 +179,6 @@ ANYMAIL = { "MAILGUN_API_URL": env("MAILGUN_API_URL", default="https://api.mailgun.net/v3"), } -# Gunicorn -# ------------------------------------------------------------------------------ -INSTALLED_APPS += ["gunicorn"] # noqa F405 - {% if cookiecutter.use_whitenoise == 'y' -%} # WhiteNoise # ------------------------------------------------------------------------------