作者IDanceAlong (一个人跳舞)
看板Python
标题[问题] tempelate与tempelatetags
时间Wed Mar 5 11:02:57 2014
我在 template 裹有一个 form表单,
但我想把这个form 表单 丢到 templatetags 在 include 进template
请问我要怎麽设定 templatetags 的 def 呢?
不好意思 麻烦了
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.230.90.219
※ 编辑: IDanceAlong 来自: 61.230.90.219 (03/05 11:33)
1F:→ qoorocker:直接另外写一个 form template include进来 不就好了吗? 03/05 18:38
2F:→ IDanceAlong:搞定了 谢谢~ 03/06 10:06