Bad Syntax in Readme?
SattaiLanfear opened this issue · comments
get_user_model().get(email="user@example.com")
Shouldn't that be:
get_user_model().objects.get(email="user@example.com")
?
Yes, you're right, what an oversight!
Custom user model for Django with the same behaviour as the default User class but with email instead of username.
SattaiLanfear opened this issue · comments
get_user_model().get(email="user@example.com")
Shouldn't that be:
get_user_model().objects.get(email="user@example.com")
?
Yes, you're right, what an oversight!