Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 2 | # |
3 | # SPDX-License-Identifier: GPL-2.0-only | ||||
4 | # | ||||
5 | |||||
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | import os |
7 | import sys | ||||
8 | |||||
9 | if __name__ == "__main__": | ||||
10 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "toastermain.settings") | ||||
11 | |||||
12 | from django.core.management import execute_from_command_line | ||||
13 | |||||
14 | execute_from_command_line(sys.argv) |