manager: fix logout on users and roles pages (fixes #6954)
The supper call in RolesMixin was made on the wrong class.
This commit is contained in:
parent
181025b13b
commit
9fc5a61d4e
|
@ -40,7 +40,7 @@ class ManagerMixin(object):
|
|||
|
||||
class RolesMixin(ManagerMixin):
|
||||
def get_context_data(self, **kwargs):
|
||||
ctx = super(ManagerMixin, self).get_context_data(**kwargs)
|
||||
ctx = super(RolesMixin, self).get_context_data(**kwargs)
|
||||
ctx['roles'] = utils.get_roles()
|
||||
ctx['role_add_form'] = forms.RoleAddForm()
|
||||
return ctx
|
||||
|
|
Loading…
Reference in New Issue