diff options
| author | Caine <caine@jihakuz.xyz> | 2026-04-01 22:48:28 +0100 |
|---|---|---|
| committer | Caine <caine@jihakuz.xyz> | 2026-04-01 22:48:28 +0100 |
| commit | 5c6f7ead8f23ac76d6650858d1e06d4afb6a2efe (patch) | |
| tree | 32741d68101e2a4d301f38d83de74e97349c8fcd /manage.py | |
| parent | 40cc3de3e4d017f9241eecb35cd7854e9aec48fe (diff) | |
Configure settings: add kitchen app, DRF, timezone, allowed hosts
Diffstat (limited to 'manage.py')
| -rwxr-xr-x | manage.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/manage.py b/manage.py new file mode 100755 index 0000000..3bc7a3f --- /dev/null +++ b/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'food_project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "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) + + +if __name__ == '__main__': + main() |
