Skip to content

Instantly share code, notes, and snippets.

@NotSqrt
NotSqrt / settings_test_snippet.py
Last active Apr 21, 2020 — forked from nealtodd/settings_test_snippet.py
Another shot at this problem ..
View settings_test_snippet.py
class DisableMigrations(object):
def __contains__(self, item):
return True
def __getitem__(self, item):
return "notmigrations"
MIGRATION_MODULES = DisableMigrations()
You can’t perform that action at this time.