I am building a backend where user's identifier is phone_number
. So, is there any simple and beauty app, that provides auth staff using phone_number
like django-allauth
, django-registration
using email
?
更新:
I've already implemented my custom user with phone_number
as identifier, so no need to worry about creating custom User
model.
i think you try this Example for your User Model.