Merge pull request #628 from ostcar/Issue580

Fixed #580
This commit is contained in:
Oskar Hahn 2013-04-28 00:40:57 -07:00
commit 50077f1c03

View File

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