How can i pass optional arguments in Django view

前端 未结 0 1653
北荒
北荒 2021-02-12 06:42

I have one function in view like

def  calculate(request , b)

I want that this function should work even if b is not passes to it

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