lazybird / django-carton

A simple and lightweight application for shopping carts and wish lists.
Other
274 stars 101 forks source link

Can't able to add multiple items #16

Closed armsmani closed 8 years ago

armsmani commented 10 years ago

I was tried to add multiple items in cart but its throwing below errors. Attribute error: 'list' object has no attribute 'filter'. line number: 50 in cart.py

How can i resolve this issues?

lazybird commented 10 years ago

Hi and thanks for your comment. Concerning the error you've mentioned: 'list' object has no attribute 'filter'. It's usually because a Python List object is found where we expected Django Queryset object.

I'm not sure if you've customized things on your end.

That's the statement that caused an error.

May be on you end, the get_queryset() method returns a List object instead of a Queryset object.

I hope these explanation helps troubleshooting. I'm happy to assist more if you need.

Thanks.

lazybird commented 8 years ago

I'm closing this issue for now. Let's reopen if the problem comes back.