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:
Benjamin Dauvergne 2015-04-15 11:09:31 +02:00
parent 181025b13b
commit 9fc5a61d4e
1 changed files with 1 additions and 1 deletions

View File

@ -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