Branch: refs/heads/master Home: https://github.com/django/django Commit: 5848bea9dc9458a9517d4c98993d742976771342 https://github.com/django/django/commit/5848bea9dc9458a9517d4c98993d742976771342 Author: Claude Paroz <cla...@2xlibre.net> Date: 2014-02-04 (Tue, 04 Feb 2014)
Changed paths: M django/contrib/admin/sites.py M django/contrib/admin/views/decorators.py M tests/admin_docs/tests.py M tests/admin_views/tests.py Log Message: ----------- Made staff_member_required redirect to login Refs #21911. Commit: be0ad62994a340ad54a0b328771931932a45a899 https://github.com/django/django/commit/be0ad62994a340ad54a0b328771931932a45a899 Author: Claude Paroz <cla...@2xlibre.net> Date: 2014-02-04 (Tue, 04 Feb 2014) Changed paths: M django/contrib/admin/sites.py M docs/releases/1.7.txt M tests/admin_views/tests.py M tests/cache/tests.py Log Message: ----------- Fixed #21911 -- Made admin views redirect to login when needed Historically, the Django admin used to pass through the request from an unauthorized access to the login view directly. Now we are using a proper redirection, which is also preventing inadvertantly changing data when POSTing login data to an admin view when user is already authorized. Thanks Marc Tamlyn and Tim Graham for the reviews. Commit: 343dfff13370dac679b640196979a33951127290 https://github.com/django/django/commit/343dfff13370dac679b640196979a33951127290 Author: Claude Paroz <cla...@2xlibre.net> Date: 2014-02-04 (Tue, 04 Feb 2014) Changed paths: M django/contrib/admin/forms.py M django/contrib/admin/sites.py M django/contrib/admin/templates/admin/login.html M docs/releases/1.7.txt M tests/admin_views/tests.py Log Message: ----------- Removed the this_is_the_login_form hack Refs #21911. Now that we have a more traditional login form, we don't need any more a special field telling us we are dealing with the login form. Compare: https://github.com/django/django/compare/35cecb1ebd0c...343dfff13370 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/52f1395fbc6c2_36c110e9d585503%40hookshot-fe1-pe1-prd.aws.github.net.mail. For more options, visit https://groups.google.com/groups/opt_out.