From 9bc4aead653517bda75ff42d011e2e026051dec9 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 5 Oct 2012 19:26:57 +0100 Subject: Tweak fields docs --- docs/api-guide/fields.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') 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.`. -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 -- cgit v1.2.3