Remove storages from INSTALLED_APPS (#5361)

"storages" does not need to be added to INSTALLED_APPS: https://github.com/jschneier/django-storages/pull/547
This commit is contained in:
Marlon Castillo 2024-09-08 15:22:16 +00:00 committed by GitHub
parent a437e493b1
commit 66ebc4ecaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")