jcugat / django-custom-user

Custom user model for Django with the same behaviour as the default User class but with email instead of username.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!