Save data during add_to_cart django

前端 未结 0 1938
说谎
说谎 2020-12-05 14:57

I have an add to cart function in django looking like this:

def add_to_cart(request, slug): 
item = get_object_or_404(Item, slug=slug)
order_item, created = O         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题