Skip to content

Instantly share code, notes, and snippets.

View Matt-V50's full-sized avatar
🎯
Focusing

Matt Li Matt-V50

🎯
Focusing
View GitHub Profile
@Matt-V50
Matt-V50 / settings_test_snippet.py
Created December 13, 2017 19:43 — forked from NotSqrt/settings_test_snippet.py
Another shot at this problem ..
class DisableMigrations(dict):
def __contains__(self, item):
return True
def __getitem__(self, item):
return None
DATABASES = DisableMigrations()
MIGRATION_MODULES = DisableMigrations()