diff options
| author | Tom Christie | 2012-10-05 19:26:57 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-10-05 19:26:57 +0100 |
| commit | 9bc4aead653517bda75ff42d011e2e026051dec9 (patch) | |
| tree | 4d526af2af0e44879519ab5db0e7d0f8d5dfb74e | |
| parent | 0b08d25297b63525a9193780b590d9f0e51906da (diff) | |
| download | django-rest-framework-9bc4aead653517bda75ff42d011e2e026051dec9.tar.bz2 | |
Tweak fields docs
| -rw-r--r-- | docs/api-guide/fields.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index 5f3aba9a..56c84981 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -6,9 +6,13 @@ > > — [The Zen of Python][cite] +Serializer fields handle converting between primative values and internal datatypes. They also deal with validating input values, as well as retrieving and setting the values from their parent objects. + +--- + **Note:** The serializer fields are declared in fields.py, but by convention you should import them using `from rest_framework import serializers` and refer to fields as `serializers.<FieldName>`. -Serializer fields handle converting between primative values and internal datatypes. They also deal with validating input values, as well as retrieving and setting the values from their parent objects. +--- # Generic Fields |
