[tidyB]Support Time record

十月 30th, 2009 发表评论 阅读评论

tidyborad now support time record.

First look at micolog, it use filters in django. So I just modify template, model. But I don't know where to let django know the filter I define in file filter.py. I try to google, and someone just say create a folder named templatetags and add it to it, templatetags should have a file named __init__.py to let django know it's a lib. But I have done this, Chrome still tells me can;t find it. I can only search it in google app engine forum and get it. I add webapp.template.register_template_library('filter') to main to register my own filter file in django enviroment. At last, it works.

分类: tidyboard 标签: tidyB