我打算使用 Django 的评论系统(带有线程评论应用程序)。因为我只允许注册用户发帖,所以不需要强制的用户/网址/电子邮件字段(只需要一个外键(用户))。
我有一种感觉,我不是第一个(也不是第 1000 个)这样做的人,谁能指出我的任何实现?
我打算使用 Django 的评论系统(带有线程评论应用程序)。因为我只允许注册用户发帖,所以不需要强制的用户/网址/电子邮件字段(只需要一个外键(用户))。
我有一种感觉,我不是第一个(也不是第 1000 个)这样做的人,谁能指出我的任何实现?
I think this is what you need.
http://api.rst2a.com/1.0/rst2/html?uri=http%3A//django-threadedcomments.googlecode.com/svn/trunk/docs/api.txt&style=zope
FreeThreadedComment
FreeThreadedComment is better suited for allowing just about anyone to post comments on an item. Instead of being associated with a particular user, instead it asks for some additional information like name and e-mail.ThreadedComment
ThreadedComment is useful for allowing registered users to comment. It is for this reason that there is a required foreign key to User.