I am a newbie at this Django development environment and my Python is not as good as I would like it but I am still in the early stages of learning, so any help is appreciated.
I have stumbled over a block which I can't yet get over so if anyone can help I thank you in advance. I need to display information from 2 models. I have written a query for each but I don't know how I could combine them to display them as one in my HTML pages. Normally I would do a UNION of the 2 queries if it was just SQL but Django does not allow me to do that so is there anyway I could do something along those lines? I understand that table1.objects.all() does a SELECT * FROM table1, is there a way to do something like SELECT table1.column1, table2.column2 FROM table1, table2 WHERE table1.column1 = table2.column1. Any help would be great. Many thanks T --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

