diff options
| author | Tom Christie | 2015-02-06 13:21:35 +0000 | 
|---|---|---|
| committer | Tom Christie | 2015-02-06 13:21:35 +0000 | 
| commit | 1f996128458570a909d13f15c3d739fb12111984 (patch) | |
| tree | 81632546e432b1483ba82753d2226b685cdcbbd0 /docs/topics | |
| parent | 1d4956f61615ed32f52b2f92bb8ae31b09279a34 (diff) | |
| download | django-rest-framework-1f996128458570a909d13f15c3d739fb12111984.tar.bz2 | |
Upgrade pending deprecations to deprecations
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/3.1-announcement.md | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/docs/topics/3.1-announcement.md b/docs/topics/3.1-announcement.md index fb4fa083..7242a032 100644 --- a/docs/topics/3.1-announcement.md +++ b/docs/topics/3.1-announcement.md @@ -173,6 +173,16 @@ Thanks go to the latest member of our maintenance team, [José Padilla](https://  --- +## Deprecations + +The `request.DATA`, `request.FILES` and `request.QUERY_PARAMS` attributes move from pending deprecation, to deprecated. Use `request.data` and `request.query_params` instead, as discussed in the 3.0 release notes. + +The ModelSerializer Meta options for `write_only_fields`, `view_name` and `lookup_field` are also moved from pending deprecation, to deprecated. Use `extra_kwargs` instead, as discussed in the 3.0 release notes. + +All these attributes and options will still work in 3.1, but their usage will raise a warning. They will be fully removed in 3.2. + +--- +  ## What's next?  The next focus will be on HTML renderings of API output and will include: | 
