Using string literals as parameters to template tags in Django templates

后端 未结 3 688
南方客
南方客 2020-12-09 19:57

One of the things I find myself doing often is passing string literals as parameters to template tags or functions; for instance:

{% url my-url \'my_param\'          


        
3条回答
提交回复
热议问题