Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/env python | |
2 | import os | |
3 | import sys | |
4 | ||
5 | if __name__ == "__main__": | |
6 | settings_module = "project.settings" | |
7 | ||
8 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module) | |
9 | from django.core.management import execute_from_command_line | |
10 | execute_from_command_line(sys.argv) |