Created
January 26, 2015 00:44
-
-
Save miki725/0cd005d7253326a9fa8e to your computer and use it in GitHub Desktop.
addition to PyCharm Django Console to load Django models
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
from django.core.management.color import no_style | |
from django_extensions.management.shells import import_objects | |
locals().update(import_objects({'dont_load': []}, no_style())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment