mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 00:22:03 +00:00
14 lines
372 B
Python
Executable File
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)
|