Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UserAdmin accepts AbstractUser #2139

Merged
merged 3 commits into from
May 9, 2024
Merged

fix: UserAdmin accepts AbstractUser #2139

merged 3 commits into from
May 9, 2024

Conversation

vadimshvetsov
Copy link
Contributor

I have made things!

Currently when CustomUser is created Admin doesn't accept it.

There was initial PR wih this fix #1783, but comments weren't addressed yet but I also need this merged.

Let me know if we can do it better.

Related issues

django-stubs/contrib/auth/admin.pyi Outdated Show resolved Hide resolved
django-stubs/contrib/auth/admin.pyi Outdated Show resolved Hide resolved
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@sobolevn sobolevn merged commit 57c22f1 into typeddjango:master May 9, 2024
36 checks passed
@vadimshvetsov vadimshvetsov deleted the patch-1 branch May 10, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants