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

Unable to customize APP_MODULE variable in gunicorn template #127

Closed
derektamsen opened this issue Oct 10, 2014 · 0 comments · Fixed by #128
Closed

Unable to customize APP_MODULE variable in gunicorn template #127

derektamsen opened this issue Oct 10, 2014 · 0 comments · Fixed by #128

Comments

@derektamsen
Copy link
Contributor

Some python projects do not use the application module name of app:app that is hard coded into the template. Should add a variable that defaults to app:app but allows people to pass in a different module name if needed.

Ex: https://github.com/nedap/puppetboard#nginx-gunicorn which uses puppetboard.app:app

Per the gunicorn docs (http://gunicorn-docs.readthedocs.org/en/latest/run.html), this follows the format of $(MODULE_NAME):$(VARIABLE_NAME).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant