diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 9f62456e12..6d06ef6e25 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -450,7 +450,7 @@ different User model. from django.conf import settings from django.db.models.signals import post_save - def post_save_receiver(signal, sender, instance, **kwargs): + def post_save_receiver(sender, instance, created, **kwargs): pass post_save.connect(post_save_receiver, sender=settings.AUTH_USER_MODEL)