修复contest announcement的一些问题
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user