How to pass multiple variables or context dictionary to context processors in Django?

前端 未结 0 414
轻奢々
轻奢々 2020-12-22 23:25

I have a view called shopcart() which has multiple variables. Here\'s the code:

def shopcart(request):
    category = Category.objects.all()
    current_user          


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