mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 09:36:52 +03:00
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:
parent
a437e493b1
commit
66ebc4ecaa
|
@ -78,12 +78,6 @@ SECURE_CONTENT_TYPE_NOSNIFF = env.bool(
|
||||||
default=True,
|
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' %}
|
{% if cookiecutter.cloud_provider == 'AWS' %}
|
||||||
# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
|
# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
|
||||||
AWS_ACCESS_KEY_ID = env("DJANGO_AWS_ACCESS_KEY_ID")
|
AWS_ACCESS_KEY_ID = env("DJANGO_AWS_ACCESS_KEY_ID")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user