Hi, I am not sure if this is a really stupid question but how can you filter a model by comparing two of it's own fields?
for example: class X(models.Model): id = models.IntegerField() new_id = models.IntegerField() now I want to say X.objects.filter(id = new_id) Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

