From e88727b0ad69b601117d24ed00e3b82a7797d894 Mon Sep 17 00:00:00 2001 From: Timon Engelke Date: Tue, 17 Oct 2023 17:30:19 +0200 Subject: [PATCH] Update django-integration.rst --- docs/django-integration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/django-integration.rst b/docs/django-integration.rst index 095516c..46a7482 100644 --- a/docs/django-integration.rst +++ b/docs/django-integration.rst @@ -98,7 +98,7 @@ This can be done in two steps: class CustomUserMapper(UserMapper): def automap_user_attrs(self, user, user_data): - super().automap_user_attrs(self, user, user_data) + super().automap_user_attrs(user, user_data) if user_data.preferred_username == "admin": user.is_superuser = True user.is_staff = True