How can i pass optional arguments in Django view

前端 未结 0 563
野性不改
野性不改 2021-02-12 06:46

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

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