Sunday, November 25, 2012

Django Oscar "Add to basket" issue


 Hi All,

 I am trying to integrate ecommerce section  to my project using Django Osacr . When I try to add one product to my basket I got this 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
Python Path:
['/usr/local/lib/python2.7/dist-packages/requests/packages',



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/-/uoQwaiw-5P0J.
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.

No comments:

Post a Comment