I'm not sure what I did wrong with my middleware, however I created a
new context processor that set 'myfield', so it's accessible properly
from all templates that are fed a RequestContext.  I've kept the
middleware intact to set request.myfield as early as possible in the
request/response cycle, as I use that field regularly within my views.
It's left me with a bit of duplicated code but I've got the results
I'm after.

Ross


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