예제 #1
0
 def action_delete(self, resource, context, form):
     cart = ProductCart(context)
     cart.delete_a_product(form['id'])
예제 #2
0
파일: shop_views.py 프로젝트: hforge/shop
 def action_delete(self, resource, context, form):
     cart = ProductCart(context)
     cart.delete_a_product(form['id'])