mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
ID must start from 1 again
At the beginning of tutorial4, The database had been removed
This commit is contained in:
parent
3b466fabe7
commit
eb8c658f33
|
@ -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"
|
||||
|
||||
{
|
||||
"id": 5,
|
||||
"id": 1,
|
||||
"owner": "tom",
|
||||
"title": "foo",
|
||||
"code": "print 789",
|
||||
|
|
Loading…
Reference in New Issue
Block a user