django-categories/example/manage.py
pre-commit-ci[bot] c3e2f2858c
Some checks are pending
Run Tox tests / build (3.10) (push) Waiting to run
Run Tox tests / build (3.11) (push) Waiting to run
Run Tox tests / build (3.12) (push) Waiting to run
Run Tox tests / build (3.7) (push) Waiting to run
Run Tox tests / build (3.8) (push) Waiting to run
Run Tox tests / build (3.9) (push) Waiting to run
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2026-03-16 17:39:56 +00:00

12 lines
289 B
Python
Executable file

#!/usr/bin/env python
"""Entrypoint for custom django functions."""
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)