Hello,I am trying to return an object_list to one of my templates.

The point is that when a have a queryset, there is no problem to return the
object_list.

But I need to concatenate several list that I get form different query set.
When I concatenate the two list  I get the error: 'list' object has no
attribute '_clone'

Here deportistas is two list or more.

    return object_list(
        request,
        deportistas,
        template_name="entrenador/deportistas_list.html",
        paginate_by=100,
        extra_context=c,
        allow_empty=True,
    )

does anybody know how to solve this?




thank you in advance. The errror is as follows:



AttributeError at /sportsound/entrenador/supervision/deportistas/ 'list'
object has no attribute '_clone' Request Method: POST  Request URL:
http://192.168.6.217/sportsound/entrenador/supervision/deportistas/  Exception
Type: AttributeError  Exception Value: 'list' object has no attribute
'_clone'
[..]


Miguel

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to