User authentication with mobile number and OTP in Django 1.7
问题 I have two types of users. - Customer. - Vendor. For Customers, I've already created custom user class where login happens through email and password. But, Vendors do not have email id and password. All vendor accounts are manually created by the django admin. Vendor class looks like this. class Vendor(): phone = models.CharField(max_length=12, unique=True, required=True) name = models.CharField() . . What's the best way to implement OTP login for Vendors? Vendors usually login through an