I have two models: Thread and EmailThread. As the names suggest the Thread model relates to threads created via the web interface and the EmailThread model relates to threads created via email.

I want to display a list of all threads from both models on the same page and I want to paginate this page. If there was only a single model to paginate the page by then it would be easy but I'm having difficulty finding a way to paginate a page that has two models listed on the same page.

Can anyone suggest an option? I guess I could split them so that each model had its own listing view but that seems a bit messy to me. It would be much nicer if they were held on the same page.

Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52F50DFE.7040903%40googlemail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to