Added all supported Anymail Providers in cookiecutter.json

* Utilizes {% if %} since it's financially more wise to use AWS SES only if AWS is the cloud provider.
* FIXME: If AWS is not cloud provider, there are two None options. This may require a little hack inside of cookiecutter that I may not be aware of.
This commit is contained in:
Andrew-Chen-Wang 2020-02-06 15:17:46 -05:00
parent 642a92a9ae
commit 6709fc64c9

View File

@ -33,6 +33,18 @@
"GCP",
"None"
],
"mail_service": [
"{% if cookiecutter.cloud_provider == 'AWS' %}Amazon SES{% else %}Mailgun{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}Mailgun{% else %}Mailjet{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}Mailjet{% else %}Mandrill{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}Mandrill{% else %}Postmark{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}Postmark{% else %}Sendgrid{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}Sendgrid{% else %}SendinBlue{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}SendinBlue{% else %}SparkPost{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}SparkPost{% else %}Plain Django-Anymail{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}Plain Django-Anymail{% else %}None{% endif %}",
"{% if cookiecutter.cloud_provider == 'AWS' %}None{% else %}None{% endif %}"
],
"use_drf": "n",
"custom_bootstrap_compilation": "n",
"use_compressor": "n",