mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
Merge pull request #4985 from COCOLMAN/master
ID must start from 1 again
This commit is contained in:
commit
e438c532ae
|
@ -209,7 +209,7 @@ We can make a successful request by including the username and password of one o
|
||||||
http -a tom:password123 POST http://127.0.0.1:8000/snippets/ code="print 789"
|
http -a tom:password123 POST http://127.0.0.1:8000/snippets/ code="print 789"
|
||||||
|
|
||||||
{
|
{
|
||||||
"id": 5,
|
"id": 1,
|
||||||
"owner": "tom",
|
"owner": "tom",
|
||||||
"title": "foo",
|
"title": "foo",
|
||||||
"code": "print 789",
|
"code": "print 789",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user