开发者

Django Comment Framework - Setting Email With Session Variable

How can I set the email 开发者_如何学Goaddress in Django's comment form with a value stored in a session variable?


I think you need to create an app for comments customisation: https://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/

As the article explains you will need to read your session value inside your form's get_comment_create_data method.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜