Created
July 6, 2012 01:57
-
-
Save ashchristopher/3057580 to your computer and use it in GitHub Desktop.
Useful for diagnosing import errors that don't give stack traces
This file contains hidden or 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 django.core.management import setup_environ | |
| import settings | |
| setup_environ(settings) | |
| from django.db import models | |
| models.get_models() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment