There used to be a project in github that allowed you to map django models to python dataclasses, but it's gone now. You can still check it using the way back machine:
https://web.archive.org/web/20201111163327/https://github.com/proofit404/mappers https://web.archive.org/web/20201101163715/https://proofit404.github.io/mappers/
I'm trying to find another way to map django models to python dataclasses, but I can't seem to find any similar projects
2.1m questions
2.1m answers
60 comments
57.0k users