2006年03月17日 星期五 21:23
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
Zeuux © 2025
京ICP备05028076号