Is this good django practice?

2015-02-09 Thread Eric Man
Hello everyone, We've got a few models whose relationships are quite "involved" and I couldn't figure out how to simplify it further. We need to query them using a GROUP BY query, which Django's ORM only provides limited support. So I've built a postgres view and a managed=False model in Djang

Overriding individual models in an app without forking

2010-09-11 Thread Eric Man
Oops my previous post got hard-wrapped by safari's textarea. :( Here it is again. (I'm assuming moderator is going to prevent me from double posting). --- I was reading about how django's apps' models can't be easily overridden. - e.g http://www.scribd.com/doc/37113340/Why-Django-Sucks-and