Catching up on my mailing list folders.

On 30/03/2009 10:10 AM, IanR wrote:
> So if I created my own I could just add it to this list and it would
> do what I need.  Once my context_processor is made how would I add it
> to this list?  Something like
> settings.TEMPLATE_CONTEXT_PROCESSORS.append(my_processor)

I do something like this in my settings file:

from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS
TEMPLATE_CONTEXT_PROCESSORS += (
     'afoyi_com.modules.invoices.context_processors.invoice_details',
)

Regards
Darryl

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to