News for hackers. Stuff that matters.
Re:Dynamic Django Models with Model Models by Alex3917 on Wednesday August 22, 2018 @10:50AM (#17819067)
> Sometimes you want to gives the customer the ability to customize the app however they want and sometimes this is needed in order to do that.

What's wrong with using a JSONField with a different Cerberus validator for each client, and then using a Django form (and possibly some custom admin template code) to make it possible for the client to perform CRUD operations in the admin?

I personally would still just build a React front end and do the CRUD operations via REST endpoints, but if you really want to use the Django Admin then that's a much better way to do it than monkey patching the migrations system.

There are no comments on this comment yet.