id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 7775 Duplicate authentication code in Newforms-Admin Michael Newman nobody The contrib.auth.login function sets the last_login time for the user. contrib.admin.sites.login calls login and then sets the user's last_login time essentially duplicating code. The patch removes 2 lines of duplicate code and a TODO asking to accomplish the last login with an event, which, I believe, is now unnecessary. closed contrib.admin newforms-admin fixed auth admin Ready for checkin 1 0 0 0 0 0