mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Added noqa F405 to undefined STATIC_ROOT - flake8
* This is in addition to the PR for compressor support with AWS S3 and Google Cloud buckets
This commit is contained in:
parent
1cb2a0c98e
commit
148d6c2e29
|
@ -242,7 +242,7 @@ COMPRESS_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
|
|||
COMPRESS_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
|
||||
{%- elif cookiecutter.cloud_provider == 'AWS' or cookiecutter.cloud_provider == 'GCP' %}
|
||||
COMPRESS_STORAGE = STATICFILES_STORAGE
|
||||
COMPRESS_ROOT = STATIC_ROOT
|
||||
COMPRESS_ROOT = STATIC_ROOT # noqa F405
|
||||
{%- elif cookiecutter.cloud_provider == 'None' %}
|
||||
COMPRESS_STORAGE = "compressor.storage.GzipCompressorFileStorage"
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user