Python论坛  - 讨论区

标题:[python-chinese] woodlog的首页处理

2006年03月17日 星期五 21:23

风向标 vaneoooo at gmail.com
Fri Mar 17 21:23:24 HKT 2006

urlpatterns = patterns('',
    (r'^$', 'django.views.generic.simple.direct_to_template'
,{'template':'home/index'}),

直接就将模板作为字典传递进direct_to_template里去了
这个django提供的模块(或函数\类)能够直接进行处理?系统内置的功能??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060317/aad8996c/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号