omab/django-social-auth — pull request #443 by johnthedebs (2012-08-17 22:33:34+00:00)
Title: Allow exception processors to redirect to arbitrary URLs

I've found configuring redirects via settings.py to be pretty restrictive, so I added the ability to redirect to arbitrary URLs from exception processors. This allows you to send the user to different pages depending on the error and user state by returning a URL from the exception processor function.