Fixes typo in docs

This commit is contained in:
Aleck Landgraf 2016-10-18 14:30:15 -07:00 committed by GitHub
parent 60bcc0beef
commit c25e2c6d25

View File

@ -106,5 +106,5 @@ method to your ``DjangoObjectType``.
return None
if post.published or context.user == post.owner:
return instance
return post
return None