Add BaseSerializer heading

This commit is contained in:
Tom Christie 2014-09-19 14:59:59 +01:00
parent 88008c0a68
commit c0150e619c

View File

@ -30,6 +30,10 @@ See the [Version 3.0 GitHub issue](https://github.com/tomchristie/django-rest-fr
**TODO**: Drop`.object`, use `.validated_data` or get the instance with `.save()`. **TODO**: Drop`.object`, use `.validated_data` or get the instance with `.save()`.
#### The `BaseSerializer` class.
**TODO**
#### Always use `fields`, not `exclude`. #### Always use `fields`, not `exclude`.
The `exclude` option is no longer available. You should use the more explicit `fields` option instead. The `exclude` option is no longer available. You should use the more explicit `fields` option instead.