diff options
| author | Tom Christie | 2013-05-07 13:00:44 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-05-07 13:00:44 +0100 | 
| commit | 3c2bb0666063917707bfbfedf056e5692bfcc471 (patch) | |
| tree | dfb5b9a1b052a531360b814853ec8c75c16aeaf0 /docs/topics/2.3-announcement.md | |
| parent | d71a5533f9a8787652244dfb16af37fb7d9059fb (diff) | |
| download | django-rest-framework-3c2bb0666063917707bfbfedf056e5692bfcc471.tar.bz2 | |
Support for multiple filter classes
Diffstat (limited to 'docs/topics/2.3-announcement.md')
| -rw-r--r-- | docs/topics/2.3-announcement.md | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/topics/2.3-announcement.md b/docs/topics/2.3-announcement.md index 62fa5b9c..df1137bc 100644 --- a/docs/topics/2.3-announcement.md +++ b/docs/topics/2.3-announcement.md @@ -86,6 +86,14 @@ Similarly, you can now easily include the primary key in hyperlinked relationshi              model = Blog              fields = ('url', 'id', 'title', 'created', 'comments') +## More flexible filtering + +The `FILTER_BACKEND` setting has moved to pending deprecation, in favor of a `DEFAULT_FILTER_BACKENDS` setting that takes a *list* of filter backend classes, instead of a single filter backend class. + +The generic view `filter_backend` attribute has also been moved to pending deprecation in favor of a `filter_backends` setting. + +Being able to specify multiple filters will allow for more flexible, powerful behavior.  New filter classes to handle searching and ordering of results are planned to be released shortly. +  ---  # API Changes  | 
