Re: Why doesn't Django support managing Raw SQL changes using migration system like models

2018-02-28 Thread Julio Biason
Hi Cmp, Well, Django has to be database agnostic for things to work with any database. If raw sql is allowed, how do you can be sure it will work with any database? So far, you mentioned a bunch of PostreSQL things. But what if, tomorrow, some higher ups decided that support is required and buy O

Why doesn't Django support managing Raw SQL changes using migration system like models

2018-02-27 Thread cmp
I have an problem that I wanted to solve recently using a Postgres Trigger + Procedure that I do not want to do via Signals or within Python itself. I want to make a log which when an entry is created the result is applied to a row. We need the log to be the source of truth and I don't want to