把Accessories也弄成一个model,以便在manage.py shell里引用

This commit is contained in:
sxw@401
2015-09-06 08:22:20 +08:00
parent 6a8e327e80
commit 937f77e4bc
2 changed files with 2 additions and 1 deletions

View File

@@ -5,5 +5,5 @@ django.setup()
def add_exist_problem_to_contest(problems, contest_id):
for problem in problems:
print problem.title
return