Files
mostovik-backend/src/manage.py
Aleksandr Meshchriakov cdc30400f8
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m53s
CI/CD Pipeline / Run Tests (push) Failing after 1m55s
CI/CD Pipeline / Build & Push Images (push) Successful in 4m46s
CI/CD Pipeline / Deploy (prod) (push) Has been skipped
CI/CD Pipeline / Deploy (dev) (push) Successful in 1m12s
chore: fix formatting of test comment in manage.py
2026-02-10 11:32:27 +01:00

24 lines
689 B
Python

#!/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", "config.settings.development")
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)
# test_comment
if __name__ == "__main__":
main()