title: ValueError: Cannot assign "'auth.User'": "Token.user"
body: <p>i am getting error while i generating token with user id. it's showing me error <strong>ValueError: Cannot assign "'auth.User'": "Token.user"  must be a "User" instance.</strong>
  it would be great if anyone could figure me out where should i make changes in my code. thankyou so much in advance.
  <br/>
  views.py</p>
  
  <pre><code>
  from rest_framework.authtoken.models import Token
  
  class Product_CategoryCreateAPIView(generics.CreateAPIView):
      # token = Token.objects.get_or_create(user=settings.AUTH_USER_MODEL)
      token = Token.objects.create(user=settings.AUTH_USER_MODEL)
      print(token.key)
      model = Product_Category
      queryset = Product_Category.objects.all()
      serializer_class = Product_CategoryAdd_Serializer
  
  </code></pre>