Email problem

2007-06-14 Thread Brij
Hi, I am using the django.core.mail for sending mail to users in my application...I have defined EMAIL_HOST but havenot defined EMAIL_PORT because my smtp server doesnt require a port number... Following is the view function im using ::: def send_email(request, sender, reciepient): subject

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 dja

Aggregate function in django

2007-05-17 Thread Brij
Hi, 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 = models.ForeignKey(