mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 21:20:16 +03:00
Only install Collectfasta with AWS or GCP
This commit is contained in:
parent
ca405049ad
commit
920c7556f9
|
@ -323,7 +323,7 @@ COMPRESS_FILTERS = {
|
||||||
"js": ["compressor.filters.jsmin.JSMinFilter"],
|
"js": ["compressor.filters.jsmin.JSMinFilter"],
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' -%}
|
{%- if cookiecutter.use_whitenoise == 'n' and cookiecutter.cloud_provider in ('AWS', 'GCP') -%}
|
||||||
# Collectfasta
|
# Collectfasta
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# https://github.com/jasongi/collectfasta#installation
|
# https://github.com/jasongi/collectfasta#installation
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
gunicorn==23.0.0 # https://github.com/benoitc/gunicorn
|
gunicorn==23.0.0 # https://github.com/benoitc/gunicorn
|
||||||
psycopg[c]==3.2.3 # https://github.com/psycopg/psycopg
|
psycopg[c]==3.2.3 # https://github.com/psycopg/psycopg
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' %}
|
{%- if cookiecutter.use_whitenoise == 'n'and cookiecutter.cloud_provider in ('AWS', 'GCP') %}
|
||||||
Collectfasta==3.2.0 # https://github.com/jasongi/collectfasta
|
Collectfasta==3.2.0 # https://github.com/jasongi/collectfasta
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_sentry == "y" %}
|
{%- if cookiecutter.use_sentry == "y" %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user