首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 扩展模板插件点,其中包括所有模板匹配的模式

扩展模板插件点,其中包括所有模板匹配的模式

资 源 简 介

Allow 3rd party apps to dynamically insert template inclusions into your apps at pre-defined plugin points. Similar to how Eclipse manages plugins via contributors. You could think of this as the reverse of the {% block %} or {% include %} tags. templates/myapp/foo.html: {% load app_plugins %} {% plugin_point "foo" %} templates/otherapp/plugins/foo.html: Anything you want... templates/thirdapp/plugins/foo.html: yet another plugin... foo.html is rendered as: Anything you want... yet another plugin...

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP