News for hackers. Stuff that matters.
Re:Dynamic Django Models with Model Models by imperio59 on Wednesday August 22, 2018 @09:24AM (#17818495)
One big downside with this approach no one is talking about is that your model is no longer in sync with the rest of your code via commits.

This is generally what causes headaches later on, when you accidentally delete a field in production or forget to add a new one to mimic your dev environment.

But we had something like that where I last worked and it was okay. There was also no concept of dev db which was a different topic altogether...

Re:Dynamic Django Models with Model Models by candiodari on Wednesday August 22, 2018 @10:53AM (#17819093)
Given that the whole point is to allow the customer to have their own schemas that is not a problem, but exactly the intention of the schema.
Re:Dynamic Django Models with Model Models by Walkman on Wednesday August 22, 2018 @10:48AM (#17819054)
This is not about generating code instead of writing it at all. It is about making customizations possible.