Fixed #580
This commit is contained in:
parent
04b3a196ad
commit
100238bc66
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user