all AI news
Python: creating tokens without the Django auth models
Oct. 18, 2023, 4:24 p.m. | Bum-Ho12
DEV Community dev.to
Hi, as a beginner in django_restframework, it is difficult to work with tokens without first creating a BaseUserManager account model and abstract it to be able to access the AuthToken functionality of restframework. I mean this way:
Basically, you can create tokens for your normal model, but it requires a bit of work. I mean if your model is this way:
Create a new python file in your app and give it a name. …
abstract beginner django mean normal python token tokens work
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Data Scientist (Database Development)
@ Nasdaq | Bengaluru-Affluence