handle_no_permission()
Depending on the value of raise_exception
, the method either raises a PermissionDenied
exception or redirects the user to the login_url
, optionally including the redirect_field_name
if it is set.
handle_no_permission()
Depending on the value of raise_exception
, the method either raises a PermissionDenied
exception or redirects the user to the login_url
, optionally including the redirect_field_name
if it is set.
Please login to continue.