OnlineJudge/manage.py

13 lines
332 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
2015-08-02 08:59:01 +08:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oj.settings")
from django.core.management import execute_from_command_line
2016-09-25 14:07:45 +08:00
import django
sys.stdout.write("Django VERSION " + str(django.VERSION) + "\n")
execute_from_command_line(sys.argv)