Sorry ! The matter was I believed that an object was in my context_processor and it wasn't.
So, I have a new problem which also concern context_processors. Is it possible to give an argument in a context_processor. For example, I have a context_processor view context : def context(request): I have another view : def home(request, city): which call context. And I want to use the city argument of home in the context view. How can I do it ? If I add city in context, I have an argument error. Thanks for your help On 19 août, 10:30, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Aug 19, 8:42 am, Pep <pepourqu...@gmail.com> wrote: > > > Hi everybody, > > > I would like to use the context processor I wrote with my registration > > views. But I don't see how to do it without changing the registration > > views ? Somebody has an idea ? > > > Thanks ! > > > PEP > > Context processors are automatically applied to all views - that's the > whole point. > -- > DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.