diff options
| author | Tom Christie | 2012-10-04 09:18:46 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-10-04 09:18:46 +0100 |
| commit | bcd2caf5598a71cb468d86b6f286e180d1bf0a19 (patch) | |
| tree | 53bf053621a19c976486991d7d2802d69addcb78 /docs/api-guide/fields.md | |
| parent | a02707e12f750fd0d325e528f7b0fbcd7079db73 (diff) | |
| download | django-rest-framework-bcd2caf5598a71cb468d86b6f286e180d1bf0a19.tar.bz2 | |
Abstract out the app_label on test models
Diffstat (limited to 'docs/api-guide/fields.md')
| -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/ |
