This commit is contained in:
Oskar Hahn 2013-04-28 09:37:15 +02:00
parent 04b3a196ad
commit 100238bc66

View File

@ -83,7 +83,7 @@ class PermissionMixin(object):
"%s?next=%s" % (settings.LOGIN_URL, path)) "%s?next=%s" % (settings.LOGIN_URL, path))
else: else:
return render_to_forbidden(request) return render_to_forbidden(request)
return _View.dispatch(self, request, *args, **kwargs) return super(PermissionMixin, self).dispatch(request, *args, **kwargs)
class AjaxMixin(object): class AjaxMixin(object):