title: How can I return user ID with token in Django?
body: <p>I generate tokens using default view in Django:</p>
  
  <pre><code>url(r'^login/', rest_auth_views.obtain_auth_token),
  </code></pre>
  
  <p>I have a problem because my front-end doesn't know what is the currently logged in user ID.</p>
  
  <p>Should I return it with token or maybe create some another request?</p>
  
  <p>I know that there is a lot of different ways, but I would like to choose the most optimal solution.</p>