1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00
Files
seahub/manage.py
2025-08-13 09:52:46 +08:00

16 lines
372 B
Python
Executable File

#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "seahub.settings")
from django.core.management import execute_from_command_line
from django.conf import settings
if not settings.configured:
import django
django.setup()
execute_from_command_line(sys.argv)