[Fixed]-Django Auth Token ValueError When Assigning to User

1👍

What do your imports look like? Is there another class User beside django.auth.models.user?

Try to inherit your User class from django.contrib.auth.models.User:

models.py:

from django.contrib import auth

class User(auth.models.User):
    # place for extra fields

Leave a comment