mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
More concise cookiecutter.json; removed several if statements
* Unfortunately, with https://github.com/pydanny/cookiecutter-django/pull/2321#issuecomment-558796906, I don't think I am going to add AWS SES specifically if AWS is not chosen as cloud provider. In that case, we'll just deal with 2 None's when AWS is not selected. * FIXME 2 Nones
This commit is contained in:
parent
b7d3379f44
commit
575dead7cb
|
@ -34,7 +34,7 @@
|
|||
"None"
|
||||
],
|
||||
"mail_service": [
|
||||
{% if cookiecutter.cloud_provider == 'AWS' %}"Amazon SES",{% endif %}
|
||||
"{% if cookiecutter.cloud_provider == 'AWS' %}Amazon SES{% else %}None{% endif %}",
|
||||
"Mailgun",
|
||||
"Mailjet",
|
||||
"Mandrill",
|
||||
|
|
Loading…
Reference in New Issue
Block a user