diff options
| author | Tom Christie | 2012-10-04 02:37:39 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-10-04 02:37:39 -0700 |
| commit | ad2149767bea4fcd07348ca77f6cad5719a44181 (patch) | |
| tree | 1b74317c74794a868856c8db0cf247e3e7034a8a /docs/api-guide | |
| parent | 0a769f261e79272cf1be6add1bf96aaeec59fb05 (diff) | |
| parent | d79e18963e64c1714a29ece6ca59a8a4a1c02516 (diff) | |
| download | django-rest-framework-ad2149767bea4fcd07348ca77f6cad5719a44181.tar.bz2 | |
Merge pull request #278 from tomchristie/related-field-fixes
Related field fixes
Diffstat (limited to 'docs/api-guide')
| -rw-r--r-- | docs/api-guide/fields.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md new file mode 100644 index 00000000..009d2a79 --- /dev/null +++ b/docs/api-guide/fields.md @@ -0,0 +1,43 @@ +<a class="github" href="fields.py"></a> + +# Serializer fields + +> Flat is better than nested. +> +> — [The Zen of Python][cite] + +# Generic Fields + +## Field + +## ModelField + +# Typed Fields + +## BooleanField + +## CharField + +## EmailField + +## DateField + +## DateTimeField + +## IntegerField + +## FloatField + +# Relational Fields + +Relational fields are used to represent model relationships. + +## PrimaryKeyRelatedField + +## ManyPrimaryKeyRelatedField + +## HyperlinkedRelatedField + +## ManyHyperlinkedRelatedField + +[cite]: http://www.python.org/dev/peps/pep-0020/ |
