From 100238bc662cf0a176360afc6a09ef8615a7314c Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sun, 28 Apr 2013 09:37:15 +0200 Subject: [PATCH] Fixed #580 --- openslides/utils/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/utils/views.py b/openslides/utils/views.py index e57ffe559..35a5c39dc 100644 --- a/openslides/utils/views.py +++ b/openslides/utils/views.py @@ -83,7 +83,7 @@ class PermissionMixin(object): "%s?next=%s" % (settings.LOGIN_URL, path)) else: return render_to_forbidden(request) - return _View.dispatch(self, request, *args, **kwargs) + return super(PermissionMixin, self).dispatch(request, *args, **kwargs) class AjaxMixin(object):