Thanks Gopal

On Tue, Sep 4, 2018 at 4:12 PM <pgopal1...@gmail.com> wrote:

> Dear Carl,
>>
>
>   I'm sorry, I've no idea what the Cart is. I'm assuming that it is a
> class which can be instantiated with some dictionary data.
>   So you try passing request.data instead of just request to the Cart.
>
> Try to check by printing request.data, it'll be a dict.
> FYI you can check the below link, may be you can find the Root cause for
> your error.
>
> https://alysivji.github.io/quick-hit-hashable-dict-keys.html
>
> Thanks,
> Gopal
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bc1db1cf-b36f-434c-95b1-df82f631dd38%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bc1db1cf-b36f-434c-95b1-df82f631dd38%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPm0bzOAdz5cDVsY7H9WwiSaapPH1he03Ageq_mObO3oUHtXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to