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

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

No files matched your search

+1
View File
@@ -0,0 +1 @@
__author__ = 'root'
+1 -1
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