lukaszb/django-guardian — pull request #225 by wvolz (2014-06-10 22:40:43+00:00)
Title: use redirect_to_login instead of HttpResponseRedirect in get_403_or_None

Using redirect_to_login facilitates correct interpretation of settings.LOGIN_URL when it is a class (views.login) instead of path (/login). This matches functionality in django-braces. Without this change the redirect will send you to the wrong page ie: /views.login/?next=/delete/1/.