Month: August 2017

My objective was to create (in an automated, easy way for anyone deploying the project) a database view, for which I could have a regular django model, that I could use like any other model backed up by database tables. Turns out the easiest way is to create a custom migration. In my example I was using postgresql, it could be you require doing some minor changes for mysql. Model […]