Re: Aggregate function in django

2007-05-21 Thread Brij
I m still not able to get a proper django SQL query for the same...I used the above query but it says somedb.Objective table doesnt exist i m a newbie to django...and m not able to get hold of this "extra" api provided by the django -Brij --~--~-~--~~~---~--~~

Re: Aggregate function in django

2007-05-17 Thread Brian Beck
On May 17, 7:47 am, Brij <[EMAIL PROTECTED]> wrote: > Please help me getting the django database api for this query which i > can use in the my view and send the object to my template to display > the result Hi, check out this snippet I posted that tries to make similar SQL like this reusable. Un

Re: Aggregate function in django

2007-05-17 Thread Tim Chase
> I have two class models i.e > > class Objective(models.Model): > objName = models.CharField("Name", maxlength=100) > objDescription = models.TextField("Description") > > class ObjectiveSetting(models.Model): > employee = models.IntegerField("Employee Code") > objectives = model