Hi,
Aidas Bendoraitis a écrit :
> You can do that by writing a wrapper for the
> django.contrib.comments.views.comments.post_free_comment view. It
> should take the request as an argument, check the validity of the
> captcha, add the additional parameter to the request, call
> the post_free_comment passing the request to it, and return its response.
that, i had done...
> Then you will need the request context processor
> "django.core.context_processors.request" to be activated in your
> TEMPLATE_CONTEXT_PROCESSORS. You will be able to access the parameter
> passed like this: {{ request.custom_parameter }}.
but this is precisely the info i was looking for.
thanks a bunch!
> Maybe this is not the nicest solution in the world, but it works.
--
______________________________
Eric St-Jean [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---