We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90165a0 commit a4f8c02Copy full SHA for a4f8c02
README.rst
@@ -200,6 +200,8 @@ filter method.
200
When filtering across relationships, the queryset and lookup value will be different.
201
For example:
202
203
+.. code-block:: python
204
+
205
class PostFilter(filters.FilterSet):
206
author = filters.RelatedFilter('AuthorFilter')
207
is_published = filters.MethodFilter()
@@ -231,6 +233,8 @@ For example:
231
233
232
234
And given these API calls:
235
236
+.. code-block:: http
237
238
/api/posts/?is_published=true
239
240
/api/authors/?posts__is_published=true
0 commit comments