Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Mailgun settings #1545

Merged
merged 2 commits into from
Mar 6, 2018

Conversation

browniebroke
Copy link
Member

When creating a Mailgun add-on on Heroku, the app gets some environment variables setup automatically and 2 of them would be useful to cookiecutter-django: MAILGUN_API_KEY and MAILGUN_DOMAIN.

However, the cookiecutter names do not match and requires a manual step from the user deploying. It's used elsewhere but shouldn't harm the other deployment methods to rename these variables.

While updating the docs I noticed a variable that appear unused DJANGO_MAILGUN_SERVER_NAME so this removes it from the documentation.

When creating a Mailgun add-on on Heroku, the app gets some environment
variables by default:

    MAILGUN_API_KEY
    MAILGUN_DOMAIN

However, the cookiecutter names do not match and requires a manual step
from the user deploying. It's used elsewhere but shouldn't harm the
other deployment methods to rename these variables.

While updating the docs I noticed a variable that appear unused
DJANGO_MAILGUN_SERVER_NAME so this removes it from the documentation.
# Conflicts:
#	docs/deployment-on-heroku.rst
@browniebroke browniebroke merged commit 078041c into cookiecutter:master Mar 6, 2018
@browniebroke browniebroke deleted the simplify-environment branch March 6, 2018 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants