Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
17
manage.py
Normal file
17
manage.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
import sys
|
||||
|
||||
try:
|
||||
import MySQLdb # noqa: F401, imported for side effect
|
||||
except ImportError:
|
||||
import dmoj_install_pymysql # noqa: F401, imported for side effect
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dmoj.settings")
|
||||
|
||||
from django.core.management import execute_from_command_line
|
||||
# noinspection PyUnresolvedReferences
|
||||
import django_2_2_pymysql_patch # noqa: F401, imported for side effect
|
||||
|
||||
execute_from_command_line(sys.argv)
|
Loading…
Add table
Add a link
Reference in a new issue