Call a function using value from variable

前端 未结 0 960
礼貌的吻别
礼貌的吻别 2021-02-19 22:32

I want to get a model in django using the current url

for example

a = resolve(request.path_info).url_name

context = { \'example\' : a.ob

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