django1/django/contrib/auth/signals.py

5 lines
157 B
Python

from django.dispatch import Signal
user_logged_in = Signal(providing_args=['request', 'user'])
user_logged_out = Signal(providing_args=['request', 'user'])