摘要:
django.contrib.auth.signals.pyfrom django.dispatch import Signaluser_logged_in = Signal(providing_args=['request', 'user'])django.contrib.auth.models.pyfrom django.contrib.auth.signals import user_logged_indef update_last_login(sender, user, **kwargs): """ A signal rec 阅读全文