Created
August 13, 2015 21:55
-
-
Save dlobue/fa55d7437f504b23cd0a to your computer and use it in GitHub Desktop.
disable migrations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from frontend.settings.dev import * | |
class DisableMigrations(object): | |
def __contains__(self, item): | |
return True | |
def __getitem__(self, item): | |
return "notmigrations" | |
MIGRATION_MODULES = DisableMigrations() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put local_settings.py in frontend/frontend/
export DJANGO_SETTINGS_MODULE=frontend.local_settings