mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
新建了附件文件夹,里边放一些oj的管理工具,也可能是以后的正式的后台工具
This commit is contained in:
parent
0ba1f0ab70
commit
6a8e327e80
9
Accessories/utils.py
Normal file
9
Accessories/utils.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import django
|
||||||
|
from contest.models import Contest
|
||||||
|
django.setup()
|
||||||
|
|
||||||
|
def add_exist_problem_to_contest(problems, contest_id):
|
||||||
|
for problem in problems:
|
||||||
|
print problem.title
|
||||||
|
|
||||||
|
return
|
Loading…
Reference in New Issue
Block a user