Nitron/django-cas-provider — pull request #5 by AndreLouisCaron (2011-11-03 01:25:59+00:00)
Title: Use LOGIN_REDIRECT_URL setting in login view.

Proposed fix for issue #3, take 2.

The code uses the value of `success_redirect` if provided in the URL patterns. If unset, the code falls back to the `LOGIN_REDIRECT_URL` setting. If that it still not enough, it uses the default setting for `LOGIN_REDIRECT_URL` as per [Django documentation](https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url). Note that this breaks clients because the old default was `/accounts/`.