Sunday, November 25, 2012

Django-oscar Add to basket issue


   Hi All,

   I am trying to integrate an ecommerce section  to my project using "Django - Oscar" .Here when I try to add a product to my     
   basket I got following error ..


AttributeError at /store/basket/add/

'WSGIRequest' object has no attribute 'basket'

Request Method: POST

Request URL: http://localhost:8000/store/basket/add/

Django Version: 1.4.2

Exception Type: AttributeError

Exception Value:
'WSGIRequest' object has no attribute 'basket'

Exception Location: /myProject/apps/myecommerce/basket/views.py in get_form_kwargs, line 160

Python Executable: /usr/bin/python

Python Version: 2.7.3





 Please help me to solve this issue ..


Thanks,

















   
































--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ZT1nE2vLk9UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate