From eb8c658f3318c8d4c2af0384f24f137eb489e9c0 Mon Sep 17 00:00:00 2001 From: sol HYUN Date: Thu, 16 Mar 2017 06:34:30 +0900 Subject: [PATCH 1/3] ID must start from 1 again At the beginning of tutorial4, The database had been removed --- docs/tutorial/4-authentication-and-permissions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md index 43ccf9186..b43fabfac 100644 --- a/docs/tutorial/4-authentication-and-permissions.md +++ b/docs/tutorial/4-authentication-and-permissions.md @@ -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", From 6a8aed03a84e2e1a0aaaa07dfd428a513a875d9c Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 16 Mar 2017 06:00:57 +0100 Subject: [PATCH 2/3] Updated testimonial name on funding site --- docs/topics/funding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/funding.md b/docs/topics/funding.md index 421c9bfa3..43c8892a2 100644 --- a/docs/topics/funding.md +++ b/docs/topics/funding.md @@ -147,7 +147,7 @@ Sign up for a paid plan today, and help ensure that REST framework becomes a sus > It's really awesome that this project continues to endure. The code base is top notch and the maintainers are committed to the highest level of quality. DRF is one of the core reasons why Django is top choice among web frameworks today. In my opinion, it sets the standard for rest frameworks for the development community at large. > -> — agconti, Django REST framework user +> — Andrew Conti, Django REST framework user --- From 3cf01b7350a73b58d6d9a3a1b012054ac9ce701d Mon Sep 17 00:00:00 2001 From: Dark Goat <694934234@qq.com> Date: Thu, 16 Mar 2017 19:37:48 +0800 Subject: [PATCH 3/3] Update 7-schemas-and-client-libraries.md fix django url syntax. --- docs/tutorial/7-schemas-and-client-libraries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/7-schemas-and-client-libraries.md b/docs/tutorial/7-schemas-and-client-libraries.md index eb1982955..d253e4352 100644 --- a/docs/tutorial/7-schemas-and-client-libraries.md +++ b/docs/tutorial/7-schemas-and-client-libraries.md @@ -41,7 +41,7 @@ view in our URL configuration. schema_view = get_schema_view(title='Pastebin API') urlpatterns = [ - url('^schema/$', schema_view), +        url(r'^schema/$', schema_view), ... ]