title: Tastypie and token authorization
body: <p>I new in Django. I need to write API for using from mobile devices. I decided to use Tastypie framework for this. Everything is clear here but I can't find a fully described solution for authentication realization for such API. So here is a couple of questions:</p>
  
  <p>1) How to create token authentication with django and tastypie
  2) How to get token on client (curl request example is enough here)</p>
  
  <p>Thanks</p>