From ff55904f49f32bd21c17f5d383149891e24458eb Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 29 Dec 2020 14:04:17 +0200 Subject: [PATCH] Fix user type --- myauth/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myauth/models.py b/myauth/models.py index 5bc4af7..7786bf0 100644 --- a/myauth/models.py +++ b/myauth/models.py @@ -40,7 +40,7 @@ class User(AbstractUser): return super().normalize_username(username).lower() -UserType = t.Type[User] +UserType = User def get_typed_user_model() -> UserType: