From 224b4dc69c7dd5b710db5fac04c1b81d9ff8e09e Mon Sep 17 00:00:00 2001 From: pxgc3fruy <3048268616@qq.com> Date: Sat, 1 Jun 2024 19:00:11 +0800 Subject: [PATCH] Delete 'manage.py' --- manage.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 manage.py diff --git a/manage.py b/manage.py deleted file mode 100644 index 2642290..0000000 --- a/manage.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python -import os -import sys - -if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mall_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)