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 | # |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 3 | # Copyright BitBake Contributors |
| 4 | # |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0-only |
| 6 | # |
| 7 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | import os |
| 9 | import sys |
| 10 | |
| 11 | if __name__ == "__main__": |
| 12 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "toastermain.settings") |
| 13 | |
| 14 | from django.core.management import execute_from_command_line |
| 15 | |
| 16 | execute_from_command_line(sys.argv) |