Ivan Sagalaev wrote:
> Rob Hudson wrote:
>> The place I need it is the:
>>      class CommentFormNode(template.Node):
> 
> You probably need it in this node's 'render' method. There you have a 
> context passed to it and this context is exactly the thing that holds 
> all the variables including 'user'. So this is it:
> 
>      class CommentFormNode(template.Node):
>        def render(self, context):
>          context['user'] # this is it

Very nice.  Thanks!

-Rob

--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to