django - Tiered shipping problem in Satchmo -


When I try to use the tiered shipping module in my store, I get the following error:

typeError at / shop / checkout / dummy / object .__ init (__) takes no parameters Request method: Request URL: http://127.0.0.1:8000/shop/checkout/ dummy / exception type: TypeError exception value: takes objection .__ init __ () is a parameter exception Area: /usr/local/lib/python2.6/dist- file "in __init__, line 28 Traceback ../ .. /apps/shipping/modules/tiered/models.py Packages / Django / Core / S Drivers / base.py "get_response 92. = callback (request in response, * callback_args, ** callback_kwargs) file" /usr/local/lib/python2.6/dist-packages/django/views/ decorators / cache.py pay_ship_info 10 return in payday "_wrapped_view_func 44 in response = view_func (request, * args, ** kwargs) file" ../../apps/payment/modules/dummy/views.py ". File Credit_pay_ship_info (request, dummy) file "../../apps/payment/ ideas / payship.py" credit_pay_ship_info 141. Return base_pay_ship_info (request Payment_module, Credit_pay_ship_process_form, template) "../../apps/payment /views/payship.py "base_pay_ship_info = form_handler (request 132. results, contact, working_cart, payment_module) file" ../../apps/payment/views/payship.py "79 form = _get_form (request credit_pay_ship_process_form, Payment_module, * args, ** kwargs) in the file "../../apps/payment/view/payhipip_ _get_form 65" Form = formclass (request, payment_module, * args, ** kwargs) in the file "../../apps/payment/forms.py" __init__ 226 Super (CreditPayShipForm, self) .__ init __ (request, paymentmodule, * args, ** kwargs) file "../../apps/payment/forms.py in __init__ 178. shipping_choices", shipping_dict = _get_shipping_choices (request, paymentmodule, self .tempCart, self.tempContact, default_view_tax = default_view_tax) _get_shipping_choices file "../../apps/payment/forms.py" 40. methods = sh Ipping_methods () file "../../apps/ Shipping / config.py "in shipping_methods 49. methods.extend (module.get_methods ()) file" ../../apps/shipping/modules/tiered/__init__ .pi "get_methods 7. Return to the carrier [carrier] for the carrier. Allocated. Filter (active = True). Order_by ('ordering')] file "../../apps/shipping/modules/tiered/ Models.py" __init__ 28. Super (on baseship, self) .__ init __ (self) exception type: typewriter error / shop / Checkout / Dummy / Exception value: Object .__ init __ () takes no parameter

I have also entered the carriers in the database.

Can anyone help me in this regard?

  super (on baseshipper, itself) .__ init __ (self)  < / Pre> 

change it

  super (BaseShipper, self) .__ init __ ()  

Comments