Tweak fields docs

This commit is contained in:
Tom Christie 2012-10-05 19:26:57 +01:00
parent 0b08d25297
commit 9bc4aead65

View File

@ -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