Created
February 13, 2013 08:27
-
-
Save bmihelac/4943082 to your computer and use it in GitHub Desktop.
Execute python management command from shell
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 execute_from_command_line | |
execute_from_command_line(['', 'show_urls']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment