Created
August 21, 2014 20:58
-
-
Save michaelkuty/57ac40950a77ab900336 to your computer and use it in GitHub Desktop.
horizon auto overrides
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
def auto_overrides(app): | |
module_name = "%s.%s" % (app, "overrides") | |
try: | |
mod = __import__(module_name) | |
except Exception, e: | |
pass | |
for app in settings.INSTALLED_APPS: | |
auto_overrides(app) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment