Me trying to comply with django's api.

https://github.com/django/django/blob/master/django/contrib/auth/views.py#L42

But now that I look back at it, I completely misread what was happening there and have no idea what that section of code is trying to accomplish.