mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 16:41:56 +00:00
13 lines
332 B
Python
Executable File
13 lines
332 B
Python
Executable File
#!/usr/bin/env python
|
|
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)
|