阅读背景:

Django - CreateView - 如何声明变量并在模板中使用它

来源:互联网 

How do I declare a variable in Django's Createview, so I can use it from its template? For example I want to use {{ place_slug }} in the template. I pass that from urls.py like below:How do I declare a variable in Django's Createv




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: