@true_if_is_super_or_staff\r
def can_edit_post(self, post):\r
return self == post.author or self.reputation >= int(settings.REP_TO_EDIT_OTHERS\r
- ) or (post.wiki and self.reputation >= int(settings.REP_TO_EDIT_WIKI))\r
+ ) or (post.nis.wiki and self.reputation >= int(settings.REP_TO_EDIT_WIKI))\r
\r
@true_if_is_super_or_staff\r
def can_wikify(self, post):\r