[Answer]-Django – Extend the login function to save the last but one login datetime

1👍

There are login and logout signals sent by Django that You can use for this purpose: https://docs.djangoproject.com/en/1.5/ref/contrib/auth/#module-django.contrib.auth.signals

Leave a comment