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

45 lines
2.2 KiB
Plaintext
Raw Normal View History

# PRECAUTION: avoid production dependencies that aren't in development
-r base.txt
2021-03-27 12:04:38 +03:00
gunicorn==20.1.0 # https://github.com/benoitc/gunicorn
psycopg2==2.9.5 # 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" %}
2022-12-21 16:58:04 +03:00
sentry-sdk==1.12.1 # https://github.com/getsentry/sentry-python
{%- endif %}
{%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
2022-12-21 12:52:05 +03:00
hiredis==2.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.13.2 # https://github.com/jschneier/django-storages
{%- elif cookiecutter.cloud_provider == 'GCP' %}
django-storages[google]==1.13.2 # https://github.com/jschneier/django-storages
{%- elif cookiecutter.cloud_provider == 'Azure' %}
django-storages[azure]==1.13.2 # https://github.com/jschneier/django-storages
2019-04-02 09:13:31 +03:00
{%- endif %}
{%- if cookiecutter.mail_service == 'Mailgun' %}
2022-12-21 14:20:42 +03:00
django-anymail[mailgun]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Amazon SES' %}
2022-12-21 14:20:42 +03:00
django-anymail[amazon_ses]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Mailjet' %}
2022-12-21 14:20:42 +03:00
django-anymail[mailjet]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Mandrill' %}
2022-12-21 14:20:42 +03:00
django-anymail[mandrill]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Postmark' %}
2022-12-21 14:20:42 +03:00
django-anymail[postmark]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Sendgrid' %}
2022-12-21 14:20:42 +03:00
django-anymail[sendgrid]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'SendinBlue' %}
2022-12-21 14:20:42 +03:00
django-anymail[sendinblue]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'SparkPost' %}
2022-12-21 14:20:42 +03:00
django-anymail[sparkpost]==9.0 # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Other SMTP' %}
2022-12-21 14:20:42 +03:00
django-anymail==9.0 # https://github.com/anymail/django-anymail
{%- endif %}