Programming in python: Return multiple values in object_list for Django Pagination on newest questions tagged python – Stack Overflow
I have implemented pagination in django. i am trying to return multiple value in the query set of object_list method like
A = ABC.objects.all() B = DEF.objects.all() C = XYZ.objects.all() return object_list(request, template_name = 'index.html', queryset = (A,B,C), paginate_by = 5)
doing this i get ‘_clone’ error
I have tried wraping the query in list and Queryset but of no success….
Programming in python: programming-in-python