OnlineJudge/manage.py
virusdefender 61ab910d53 重构
2016-09-25 14:07:45 +08:00

14 lines
372 B
Python
Executable File

#!/usr/bin/env python
from __future__ import unicode_literals
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oj.settings")
from django.core.management import execute_from_command_line
import django
sys.stdout.write("Django VERSION " + str(django.VERSION) + "\n")
execute_from_command_line(sys.argv)