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.
精彩评论