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 60bcc0b commit c25e2c6Copy full SHA for c25e2c6
docs/authorization.rst
@@ -106,5 +106,5 @@ method to your ``DjangoObjectType``.
106
return None
107
108
if post.published or context.user == post.owner:
109
- return instance
+ return post
110
0 commit comments