mirror of
https://github.com/django/django.git
synced 2025-01-23 16:50:41 +00:00
10781b4c6f
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.