From 66ebc4ecaa460e2fd810532bfbc46703c9eaa02c Mon Sep 17 00:00:00 2001 From: Marlon Castillo Date: Sun, 8 Sep 2024 15:22:16 +0000 Subject: [PATCH 1/2] Remove storages from `INSTALLED_APPS` (#5361) "storages" does not need to be added to INSTALLED_APPS: https://github.com/jschneier/django-storages/pull/547 --- {{cookiecutter.project_slug}}/config/settings/production.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index 706d04e0a..034d588e0 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -78,12 +78,6 @@ SECURE_CONTENT_TYPE_NOSNIFF = env.bool( default=True, ) -{% if cookiecutter.cloud_provider != 'None' -%} -# STORAGES -# ------------------------------------------------------------------------------ -# https://django-storages.readthedocs.io/en/latest/#installation -INSTALLED_APPS += ["storages"] -{%- endif -%} {% if cookiecutter.cloud_provider == 'AWS' %} # https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings AWS_ACCESS_KEY_ID = env("DJANGO_AWS_ACCESS_KEY_ID") From ef53145219e948d132619a08a7faddd62c9142c4 Mon Sep 17 00:00:00 2001 From: browniebroke Date: Sun, 8 Sep 2024 15:22:51 +0000 Subject: [PATCH 2/2] Update Contributors --- .github/contributors.json | 5 +++++ CONTRIBUTORS.md | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/.github/contributors.json b/.github/contributors.json index 21284ce93..b135fe90f 100644 --- a/.github/contributors.json +++ b/.github/contributors.json @@ -1633,5 +1633,10 @@ "name": "rxm7706", "github_login": "rxm7706", "twitter_username": "" + }, + { + "name": "Marlon Castillo", + "github_login": "mcastle", + "twitter_username": "" } ] \ No newline at end of file diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index df7293128..b913b67f3 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1468,6 +1468,13 @@ Listed in alphabetical order. + + Marlon Castillo + + mcastle + + + Martin Blech