I looked into the code again and think I've found where the values
come from.
class CommentFormNode(BaseCommentNode):
"""Insert a form for the comment model into the context."""
...
return comments.get_form()
(ctype.get_object_for_this_type(pk=object_pk))
The comments.get_form() w
On Nov 30, 8:31 am, photon wrote:
> Mostly I followed the instruction
> ofhttp://docs.djangoproject.com/en/dev/ref/contrib/comments/
>
> While my code could run as expected, I cannot find when and where the
> field values in "form" are set before it's called in line 4~6 of the
> form.html as belo
Mostly I followed the instruction of
http://docs.djangoproject.com/en/dev/ref/contrib/comments/
While my code could run as expected, I cannot find when and where the
field values in "form" are set before it's called in line 4~6 of the
form.html as below. What I'm particularly interested in was th
3 matches
Mail list logo