Hi All I was just wondering if anybody else had tackled this problem.

We're using the contrib.comments app and we have a need to combine
both FreeComments and Comments together in a single view. We've got
the site set up so that if a registered user is logged in and they
make a comment it is a Comment and an unregistered user when they post
its posted as a FreeComment. That part works fine. Now what we'd like
to do is create a view that combines these two models into one view
sorted by date. I've had a look through the database docs but can't
see how to make a query that returns two *unrelated* models as a
single queryset.

Any help would be much appreciated.

Thanks Mike


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to