Re: Sorting problem with model having ForeignKey and ManyToManyField

2008-08-20 Thread Malcolm Tredinnick
On Wed, 2008-08-20 at 05:55 -0700, laspal wrote: > hi, > I am trying to sort my tables depending upon the header. > Its working fine if my models does have any ForeignKey or > ManyToManyField. > but if its does sorting is not working. "Not working" could mean anything: the codes crashes, it runs

Sorting problem with model having ForeignKey and ManyToManyField

2008-08-20 Thread laspal
hi, I am trying to sort my tables depending upon the header. Its working fine if my models does have any ForeignKey or ManyToManyField. but if its does sorting is not working. class Meeting(models.Model): created_by = models.ForeignKey(User, blank=True, null=True) meeting_desc = models.Ch