#7775: Duplicate authencation code in Newforms Admin -----------------------------+---------------------------------------------- Reporter: Mnewman | Owner: nobody Status: new | Milestone: Component: Admin interface | Version: newforms-admin Keywords: auth admin | Stage: Unreviewed Has_patch: 1 | -----------------------------+---------------------------------------------- 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.
-- Ticket URL: <http://code.djangoproject.com/ticket/7775> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
