aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorStephan Groß2012-10-30 14:36:37 +0100
committerStephan Groß2012-10-30 14:36:37 +0100
commita967187b4102af88dec4d8a2b9ffd97b6c65db0b (patch)
tree026ef6dc297e2ee44c08894ef2133cb37f788049 /docs
parentabf7f1161933567e622c51af9a53e4b860c11693 (diff)
downloaddjango-rest-framework-a967187b4102af88dec4d8a2b9ffd97b6c65db0b.tar.bz2
fixed typo
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/4-authentication-and-permissions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md
index 2dc62219..5a30082c 100644
--- a/docs/tutorial/4-authentication-and-permissions.md
+++ b/docs/tutorial/4-authentication-and-permissions.md
@@ -100,7 +100,7 @@ Add the following field to the serializer definition:
**Note**: Make sure you also add `'owner',` to the list of fields in the inner `Meta` class.
-This field is doing something quite interesting. The `source` argument controls which attribtue is used to populate a field, and can point at any attribute on the serialized instance. It can also take the dotted notation shown above, in which case it will traverse the given attributes, in a similar way as is used with Django's template language.
+This field is doing something quite interesting. The `source` argument controls which attribute is used to populate a field, and can point at any attribute on the serialized instance. It can also take the dotted notation shown above, in which case it will traverse the given attributes, in a similar way as is used with Django's template language.
The field we've added is the untyped `Field` class, in contrast to the other typed fields, such as `CharField`, `BooleanField` etc... The untyped `Field` is always read-only, and will be used for serialized representations, but will not be used for updating model instances when they are deserialized.