mirror of
https://github.com/django/django.git
synced 2025-02-08 08:26:13 +00:00
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.