Django-oscar Add to basket issue

2012-11-25 Thread Aswathy Raju

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



Django Oscar "Add to basket" issue

2012-11-25 Thread Aswathy Raju

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