lowercase because pretty
This commit is contained in:
parent
f5132c6552
commit
1fdc3bbfe8
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ class ChangeSetViewSet(ReadOnlyModelViewSet):
|
|||
offset = 0
|
||||
if 'offset' in request.GET:
|
||||
if not request.GET['offset'].isdigit():
|
||||
raise ParseError('Offset has to be a positive integer.')
|
||||
raise ParseError('offset has to be a positive integer.')
|
||||
offset = int(request.GET['offset'])
|
||||
return Response([obj.serialize() for obj in qs.order_by('-last_update')[offset:offset+20]])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue