Closed sobolevn closed 3 months ago
Right, yeah, we probably want use the same type of setup here as in django-stubs
. I think it'll work to just import and use django.contrib.auth.base_user._UserModel
.
I suppose any kind of third party working with the configured user would like to benefit from what we declared as _UserModel
, so there might also be a use case to move it to django-stubs-ext
and import from there.
cc @flaeppe
Looks like that it fails because of our recent User plugin change.