1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-03-29 06:14:25 +03:00

Add missing commas in pagination response samples ()

This commit is contained in:
Abhineet 2021-12-13 19:34:04 +05:30 committed by GitHub
parent b3beb15b00
commit f3bb5b9cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ This pagination style accepts a single number page number in the request query p
HTTP 200 OK
{
"count": 1023
"count": 1023,
"next": "https://api.example.org/accounts/?page=5",
"previous": "https://api.example.org/accounts/?page=3",
"results": [
@ -126,7 +126,7 @@ This pagination style mirrors the syntax used when looking up multiple database
HTTP 200 OK
{
"count": 1023
"count": 1023,
"next": "https://api.example.org/accounts/?limit=100&offset=500",
"previous": "https://api.example.org/accounts/?limit=100&offset=300",
"results": [