mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-07 15:10:35 +03:00
Update filtering.rst
This commit is contained in:
parent
dbd3957a9f
commit
bc713f22cb
|
@ -145,4 +145,4 @@ pre-filter animals owned by the authenticated user (set in ``context.user``).
|
||||||
@property
|
@property
|
||||||
def qs(self):
|
def qs(self):
|
||||||
# The query context can be found in self.request.
|
# The query context can be found in self.request.
|
||||||
return super(AnimalFilter, self).filter(owner=self.request.user)
|
return super(AnimalFilter, self).qs.filter(owner=self.request.user)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user