In the view set up something like all = [Books.objects.all() & Movies.objects.all()].orderby('date')
On Feb 23, 2:22 pm, ds <dam...@gmail.com> wrote: > Hello group, > > i have a simple question here, i've been trying to found the answer > but somehow i got confused if this is wheter possible or not: > > I have two django models, movies and books , i want to get all the > objects from both models and order them by date, getting result_set > that > might look like this: > > movie1 > movie2 > book1 > movie3 > book2 > > is this possible? > if so, where should i be reading to learn how to? > > thanks! > > damian -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.