Skip to content

Instantly share code, notes, and snippets.

View c-rhodes's full-sized avatar
🌴
On vacation, dyung is managing next LLVM release

Cullen Rhodes c-rhodes

🌴
On vacation, dyung is managing next LLVM release
  • Arm
  • Manchester, UK
  • 03:33 (UTC)
View GitHub Profile
@c-rhodes
c-rhodes / settings_test_snippet.py
Last active August 29, 2015 14:14 — forked from NotSqrt/settings_test_snippet.py
A solution to avoid migrations when testing in Django 1.7, the config is set in manage.py so no environment variables have to be set
# settings.py
class DisableMigrations(object):
def __contains__(self, item):
return True
def __getitem__(self, item):
return "notmigrations"