aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDaniel Hepper2013-05-07 19:16:03 +0200
committerDaniel Hepper2013-05-07 19:16:03 +0200
commit70b8e5b759342cb746337c768f9af475ca5dc756 (patch)
tree872bcd85fde8888ba8fe253067fb34a6a9787ff9 /docs
parent246a376dcf6b62aa6ce42ef8dc69313a58fb7e72 (diff)
downloaddjango-rest-framework-70b8e5b759342cb746337c768f9af475ca5dc756.tar.bz2
Fixed typos in tutorial
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/1-serialization.md2
-rw-r--r--docs/tutorial/4-authentication-and-permissions.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md
index 205ee7e0..ed54a876 100644
--- a/docs/tutorial/1-serialization.md
+++ b/docs/tutorial/1-serialization.md
@@ -204,7 +204,7 @@ We can also serialize querysets instead of model instances. To do so we simply
## Using ModelSerializers
-Our `SnippetSerializer` class is replicating a lot of information that's also contained in the `Snippet` model. It would be nice if we could keep out code a bit more concise.
+Our `SnippetSerializer` class is replicating a lot of information that's also contained in the `Snippet` model. It would be nice if we could keep our code a bit more concise.
In the same way that Django provides both `Form` classes and `ModelForm` classes, REST framework includes both `Serializer` classes, and `ModelSerializer` classes.
diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md
index 8bb3164b..f6c3efb0 100644
--- a/docs/tutorial/4-authentication-and-permissions.md
+++ b/docs/tutorial/4-authentication-and-permissions.md
@@ -143,7 +143,7 @@ Once you've created a few code snippets, navigate to the '/users/' endpoint, and
## Object level permissions
-Really we'd like all code snippets to be visible to anyone, but also make sure that only the user that created a code snippet is able update or delete it.
+Really we'd like all code snippets to be visible to anyone, but also make sure that only the user that created a code snippet is able to update or delete it.
To do that we're going to need to create a custom permission.