Commit 7b6f56e5 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Cosmetic fix

parent 4c246a55
......@@ -204,7 +204,7 @@ class Permission(models.Model):
for p in self.implied.split(",")]
@classmethod
def has_perm(self, user, perm):
def has_perm(cls, user, perm):
"""
Check user has permission either directly either via groups
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment