-
Notifications
You must be signed in to change notification settings - Fork 44
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
Deployment settings #93
Comments
I looked up the mattbierner example. It looks fine. You'll only get the production settings if you tell buildout to actually use the production settings, by the way. Are you doing that?
Just making sure... :-) |
No didn't do that. From the README it states "will use the right setting automatically", so I expected it'd use it for things like |
The recipe only has one The If you really do not want to use a second buildout file for production, you could add a second djangorecipe part with your productionsettings? |
Ah! Good idea. Thanks for the tip I think that'll do just fine. May I suggest updating the README to clarify a little bit? May be just say something like: Using Thanks for your help. |
Looking at simple ways to have a different setting for
bin/django
(dev) andbin/django.wsgi
(production).The README here states briefly that there can be a
production.cfg
but an example and/or some more details would be really welcome.I tried to follow mattbierner by creating a
production.cfg
like:And changing my
buildout.cfg
like:Then run
bin/buildout
butbin/django.wsgi
still points to non-production settings.The text was updated successfully, but these errors were encountered: