We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60bcc0b + c25e2c6 commit efc8fd6Copy full SHA for efc8fd6
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