Is there a sensible way of dynamically creating django models with migrations etc? I would love to hear if anybody used that approach in their app and how it went.
Hello there!
Can you explain a bit more what do you want to achieve with this?
I needed this feature a few years back and I built a third party app to build abstractions around it.
It is now completely unmaintained with no plan of updating it though, you can read a primer on it here
As for how it went I would say good enough considering the complexity involved. You definitely want to be using Postgres or SQLite if you’re doing such thing but I would strongly suggest you look into alternative options such as using schemaless fields such as JSONField
instead before venturing down that route.
Best of luck.