diff options
Diffstat (limited to 'manage.py')
-rwxr-xr-x | manage.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,6 +3,7 @@ import os import sys + # Separate definition to ease calling this in other scripts. def main(): """Entry point for Django management script.""" @@ -14,8 +15,8 @@ def main(): "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" - ) from exc - execute_from_command_line(sys.argv) + from exc + execute_from_command_line (sys.argv) if __name__ == '__main__': |