rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | #!/usr/bin/env python3 |
2 | import os | ||||
3 | import sys | ||||
4 | |||||
5 | if __name__ == "__main__": | ||||
6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "toastermain.settings") | ||||
7 | |||||
8 | from django.core.management import execute_from_command_line | ||||
9 | |||||
10 | execute_from_command_line(sys.argv) |