Re: context processors execution
Hi James can yo ucopy the rest of the email in mate, I'm not sure what my poitn was going to be without seeing it :-) Lots going on. On 13/08/07, james_027 <[EMAIL PROTECTED]> wrote: > > > hi Matt, > > On Aug 13, 3:13 pm, "Matt Davies" <[EMAIL PROTECTED]> wrote: > > James, are you talking about putting a context processor into the > > settings.py file? > > > > yes, and also context processor called as argument on views by > ContextRequest() > > Thanks > james > > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: context processors execution
hi Matt, On Aug 13, 3:13 pm, "Matt Davies" <[EMAIL PROTECTED]> wrote: > James, are you talking about putting a context processor into the > settings.py file? > yes, and also context processor called as argument on views by ContextRequest() Thanks james --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: context processors execution
James, are you talking about putting a context processor into the settings.py file? On 13/08/07, james_027 <[EMAIL PROTECTED]> wrote: > > > hi, > > someone to confirm this? > > thanks > james > > On Aug 10, 10:29 am, james_027 <[EMAIL PROTECTED]> wrote: > > hi, > > > > Are the context processors executed only when you pass a request > > context from view to template? The documentation mentions that a > > requestcontext could accept an optional argument which is a context > > processor, is it the same as putting the context processor in the > > context processor settings but only gets executed when as requested by > > the requestcontext? > > > > Thanks > > james > > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: context processors execution
hi, someone to confirm this? thanks james On Aug 10, 10:29 am, james_027 <[EMAIL PROTECTED]> wrote: > hi, > > Are the context processors executed only when you pass a request > context from view to template? The documentation mentions that a > requestcontext could accept an optional argument which is a context > processor, is it the same as putting the context processor in the > context processor settings but only gets executed when as requested by > the requestcontext? > > Thanks > james --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
context processors execution
hi, Are the context processors executed only when you pass a request context from view to template? The documentation mentions that a requestcontext could accept an optional argument which is a context processor, is it the same as putting the context processor in the context processor settings but only gets executed when as requested by the requestcontext? Thanks james --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---