Unable to access Tokens Table or delete users with associated Token #8399
-
When I am trying to access Tokens in Admin or when I am trying to delete user, I am hit with this error PS. I do not know if this helps, but as a side note I am using AbstractUser to make my own Users. I am also using simpltjwt for authentications. (I was following this guide to do authentication with another site https://hackernoon.com/110percent-complete-jwt-authentication-with-django-and-react-2020-iejq34ta) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Does your custom I think it's somewhat similar to: https://stackoverflow.com/questions/31404781/django-and-postgresql-operator-does-not-exist-integer-character-varying. |
Beta Was this translation helpful? Give feedback.
Does your custom
User
model use aCharField
as its primary key? Could you please provide your customUser
implementation?I think it's somewhat similar to: https://stackoverflow.com/questions/31404781/django-and-postgresql-operator-does-not-exist-integer-character-varying.