cookiecutter-django/{{cookiecutter.project_slug}}/requirements/production.txt

43 lines
2.0 KiB
Plaintext
Raw Normal View History

# PRECAUTION: avoid production dependencies that aren't in development
-r base.txt
gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
psycopg2==2.8.6 # https://github.com/psycopg/psycopg2
{%- if cookiecutter.use_whitenoise == 'n' %}
2020-06-06 03:08:27 +03:00
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
{%- endif %}
{%- if cookiecutter.use_sentry == "y" %}
sentry-sdk==0.18.0 # https://github.com/getsentry/sentry-python
2015-07-27 18:42:23 +03:00
{%- endif %}
{%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
2020-07-24 19:58:27 +03:00
hiredis==1.1.0 # https://github.com/redis/hiredis-py
{%- endif %}
# Django
# ------------------------------------------------------------------------------
2019-04-02 09:13:31 +03:00
{%- if cookiecutter.cloud_provider == 'AWS' %}
django-storages[boto3]==1.10.1 # https://github.com/jschneier/django-storages
{%- elif cookiecutter.cloud_provider == 'GCP' %}
django-storages[google]==1.10.1 # https://github.com/jschneier/django-storages
2019-04-02 09:13:31 +03:00
{%- endif %}
{%- if cookiecutter.mail_service == 'Mailgun' %}
2020-10-09 23:10:56 +03:00
django-anymail[mailgun]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Amazon SES' %}
2020-10-09 23:10:57 +03:00
django-anymail[amazon_ses]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Mailjet' %}
2020-10-09 23:10:58 +03:00
django-anymail[mailjet]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Mandrill' %}
2020-10-09 23:10:58 +03:00
django-anymail[mandrill]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Postmark' %}
2020-10-09 23:10:59 +03:00
django-anymail[postmark]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Sendgrid' %}
2020-10-09 23:11:00 +03:00
django-anymail[sendgrid]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'SendinBlue' %}
2020-10-09 23:11:01 +03:00
django-anymail[sendinblue]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'SparkPost' %}
2020-10-09 23:11:02 +03:00
django-anymail[sparkpost]==8.1 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Other SMTP' %}
2020-10-09 23:11:03 +03:00
django-anymail==8.1 # https://github.com/anymail/django-anymail
{%- endif %}