开发者

how to customizing fields in django's comment app?

How ca开发者_JAVA百科n I customize the django builtin comment app so that the fields url, email will be ignored and automatically populate the name with the user's username since I'm only allowing comments from authenticated users?


Start here: http://docs.djangoproject.com/en/1.1/ref/contrib/comments/custom/#ref-contrib-comments-custom


Extend the save method to pull user data and set it to comment's field

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜