forked from rc/aircox
fix styles
This commit is contained in:
@ -40,7 +40,7 @@ class PagePermissions:
|
||||
if user.is_superuser:
|
||||
return True
|
||||
|
||||
perm = self.perms_codename_format.format(self=self, perm=perm)
|
||||
perm = self.perms_codename_format.format(self=self, perm=perm, obj=obj)
|
||||
return user.has_perm(perm)
|
||||
|
||||
def init(self, obj, model=None):
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user