Re: setting the database when using a rawqueryset

2011-09-14 Thread Andre Terra
And I apologize for not even saying yours, Robert! Yours, André On Wed, Sep 14, 2011 at 9:32 AM, Andre Terra wrote: > Take a look at the aggregation docs at http://django.me/aggregation for > sum, group by, etc. > > > Cheers, > AT > > > On Tue, Sep 13, 2011 at 7:44 PM, Robert wrote: > >> >>

Re: setting the database when using a rawqueryset

2011-09-14 Thread Andre Terra
Take a look at the aggregation docs at http://django.me/aggregation for sum, group by, etc. Cheers, AT On Tue, Sep 13, 2011 at 7:44 PM, Robert wrote: > > I apologize for using AT rather than your name, Andre. > > On Sep 13, 6:42 pm, Robert wrote: > > Thanks, AT. Actually this is the article

Re: setting the database when using a rawqueryset

2011-09-13 Thread Robert
I apologize for using AT rather than your name, Andre. On Sep 13, 6:42 pm, Robert wrote: > Thanks, AT.  Actually this is the article where I learned how to do > raw SQL in Django. It made life easy for complex queries. > Unfortunately it does not specify how to dynamically set the database > for

Re: setting the database when using a rawqueryset

2011-09-13 Thread Robert
Thanks, AT. Actually this is the article where I learned how to do raw SQL in Django. It made life easy for complex queries. Unfortunately it does not specify how to dynamically set the database for the RawQuerySet. I am hoping there is an easy way to do it so I can avoid a complete rewrite. Th

Re: setting the database when using a rawqueryset

2011-09-13 Thread Andre Terra
Not exactly what you want, but https://docs.djangoproject.com/en/dev/topics/db/sql/#executing-custom-sql-directly Cheers, AT On Tue, Sep 13, 2011 at 5:51 PM, Robert wrote: > > I have inherited the support of a Django application and am new to the > language so I would appreciate some advice.