title: how to generate token using username and pin field in django auth toolkit for a phone app while keeping username and password for the web application?
body: <p>I am using DRF with auth toolkit and it is working fine. However, I want to have a second login api so a user can log in using username and pin number. It is cos we have a USSD application and it is easier to give them a pin based login system.</p>
  
  <p>Currently, I have the following URL that, when called, generates token:</p>
  
  <pre><code>         url(r'^signin/', include('oauth2_provider.urls', namespace='oauth2_provider')),
  </code></pre>
  
  <p>For the ussd app, I want something like that but the auth2 should check pin field, defined in a separate model defined as follows:</p>
  
  <pre><code>     class Members(models.Model):
           pin=models.IntegerField()
           user=models.ForeignKey(User)
  </code></pre>
  
  <p>I am a little lost where to start.</p>