One possible way would be to create your own template tag and use it instead of the provided one. I did it recently and it's not that complicated, you should use the code for the current one as an starting point and just extend it to accept some custom parameter you provide, in this case the email field.
Regards 2011/9/21 SixDegrees <paulcarli...@comcast.net> > > I'm using the Django-supplied comment framework, and I would like to > initialize the email field of the comment form with a value stored in a > session variable. The forms, however, are created using template tags; they > aren't instantiated in the view, for example, where I could easily provide > the session value as part of the 'initial' dictionary. I don't see any way > in the template to pass this value along so the form can make use of it. > How > can I do this? > -- > View this message in context: > http://old.nabble.com/Comment-Framework-and-Session-Variables-tp32503766p32503766.html > Sent from the django-users mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Andrés Reyes Monge armo...@gmail.com +(505)-8873-7217 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.