title: Django REST Framework ObtainAuthToken User Login Api view
body: <p>Hello Django community,</p>
  
  <p>I want to send back the email and the id of the user alongside the token when the user authenticate. I guess I must change the UserLoginApiView class but I don't know how to override the ObtainAuthToken class to do that.</p>
  
  <p>Does anybody have suggestions it would be very helpful?  </p>
  
  <pre><code>class UserLoginApiView(ObtainAuthToken):
      """Handle creating user authentication tokens"""
      renderer_classes = api_settings.DEFAULT_RENDERER_CLASSES
  </code></pre>
  
  <p>This is my entire code on Github: <a href="https://github.com/KrestouferT/profiles-rest-api" rel="nofollow noreferrer">https://github.com/KrestouferT/profiles-rest-api</a></p>