diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 333e0c9fd1..a6cdfdc591 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -446,7 +446,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)