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 00:59:01 +00:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oj.settings")
from django.core.management import execute_from_command_line
2016-09-25 06:07:45 +00:00
import django
sys.stdout.write("Django VERSION " + str(django.VERSION) + "\n")
execute_from_command_line(sys.argv)