Skip to content

Commit

Permalink
Update django-integration.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk authored Oct 17, 2023
1 parent d272ab8 commit e88727b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/django-integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e88727b

Please sign in to comment.