mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Add BaseSerializer heading
This commit is contained in:
parent
88008c0a68
commit
c0150e619c
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user