[python-chinese] django的tag建表
bird devdoer
devdoer在gmail.com
星期六 九月 2 09:31:25 HKT 2006
我现在虽然为tag单独建表,但是并没有用foreign key记录与其他model的关系,其他model里存储的是tag字符串,空格隔开.
2006/9/2, 憨狗 <hackgou at gmail.com>:
>
> 我也认为单独做比较好,这和tag最常的用法有关系
> 比如进行tag的统计:统计某个tag下面有多少的东东之类的
>
>
> On 9/1/06, limodou <limodou at gmail.com> wrote:
> >
> > On 9/1/06, bird devdoer <devdoer at gmail.com> wrote:
> > > tag是一个tag一个单独的实例,l 还是所有的tag作为一个字符串以空格隔开存储比较好
> >
> > 两种方法都有人做。我觉得单独好一些。
> >
> > --
> > I like python!
> > My Blog: http://www.donews.net/limodou
> > UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
> > UliPad Maillist: http://groups.google.com/group/ulipad
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> 关注LAMP平台、安全、及web开发的个人blog: http://hackgou.itbbq.com
> PGP KeyID: hackgou#Gmail.com
> PGP KeyServ: subkeys.pgp.net
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
--
devdoer
devdoer at gmail.com
http://project.mytianwang.cn/cgi-bin/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20060902/713b9255/attachment.html
关于邮件列表 python-chinese 的更多信息