Spaces:
Running
on
Zero
Running
on
Zero
from django.core.management import execute_from_command_line | |
import os | |
import sys | |
sys.path.append(os.path.dirname(__file__)) | |
os.environ.setdefault('DJANGO_SETTINGS_MODULE', f'{app_name}.settings') | |
execute_from_command_line(sys.argv) | |