0
由於某些原因,當我渲染包含+符號的模板時,它會消失,沒有錯誤或任何東西消失。加+字符消失
我渲染它像這樣
rc = RequestContext(request, template_context_dict)
html_content = smart_str(Template(updated_template_source).render(rc))
它仍然存在,當我檢查的要求和RC,但它被渲染之後就消失了。
感謝
包含+的模板部分是什麼樣的? – geoffspear 2011-02-17 13:53:48