django/django — pull request #510 by Glideh (2012-11-09 11:20:43+00:00)
Title: Added login_required_ajax

If the user is not authenticated
`login_required_ajax` sends back a HTTP Status 401 and no redirection.
To be used with ajax called views