summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/tests.py
diff options
context:
space:
mode:
authorOlivier Le Thanh Duong <olivier@lethanh.be>2015-11-12 00:48:16 +0100
committerTim Graham <timograham@gmail.com>2016-02-25 07:18:33 -0500
commit10781b4c6ff981f581157957d221e7621e0bf4ed (patch)
tree9223912fbf71db5e850bb9951e19a2edd26b40ab /tests/admin_scripts/tests.py
parent4c18a8a3788a4cd25b75ae342a7244c5f775b213 (diff)
Fixed #12233 -- Allowed redirecting authenticated users away from the login view.
contrib.auth.views.login() has a new parameter `redirect_authenticated_user` to automatically redirect authenticated users visiting the login page. Thanks to dmathieu and Alex Buchanan for the original code and to Carl Meyer for the help and review.
Diffstat (limited to 'tests/admin_scripts/tests.py')
0 files changed, 0 insertions, 0 deletions