Hi,
I'm developing a simple site which has 2 basic models: Article and
StaticPage (not using flatpages since i have some custom fields
attached).

Now, I need to create a search form which should search among both
articles and static pages and return the list of matches. I'd like
very much to return an object_list so that this search result would be
automatically paginated.

The problem is that they are 2 different models (and 2 differnt
querysets), so i can't just return an object_list.

I think this is a fairly common need so... what could I do?

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to