3 ms·
You can use a Meta.managed=False model and a Postgresql view and map your model to that view for custom SQL. And just query from that model as normal.
by meric 12y ago
You can use a Meta.managed=False model and a Postgresql view and map your model to that view for custom SQL.
And just query from that model as normal.