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

on_production_server returns False for manage.py remote #30

Open
egasimus opened this issue Apr 30, 2012 · 0 comments
Open

on_production_server returns False for manage.py remote #30

egasimus opened this issue Apr 30, 2012 · 0 comments

Comments

@egasimus
Copy link

I'm using a Google Cloud SQL database in production, as well as a local MySQL database for development. Which database is active at a given time is determined in settings.py by on_production_server. However, when trying to run South migrations on the remote DB using manage.py remote migrate, on_production_server defaulted to False.

Therefore, on_production_server needs to take into account if the command has been run using manage.py remote.

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

No branches or pull requests

1 participant