修复contest announcement的一些问题

This commit is contained in:
zema1 committed 2017-11-06 19:05:21 +08:00
1 parent cec27407e1
commit 37d6dd84ee
12 files changed
+76 -18

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ class APIView(View):
limit = int(request.GET.get("limit", "10"))
except ValueError:
limit = 10
if limit < 0 or limit > 100:
if limit < 0 or limit > 250:
limit = 10
try:
offset = int(request.GET.get("offset", "0"))