On 5/4/06, Clint Ecker <[EMAIL PROTECTED]> wrote:
> Looking over the docs here:
> http://www.djangoproject.com/documentation/generic_views/
>
> It looks like you can pass in an argument called "extra_context" which is
> just a dictionary.  I don't see why you couldn't pass in " request.GET" in
> that dict.

That wouldn't work, because you pass the argument in the URLconf, and
the URLconf doesn't have access to request objects. The solution here
is either the global TEMPLATE_CONTEXT_PROCESSORS setting or the
"context_processors" keyword argument to the specific view.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to