I'm writing some code that does something like...
1. check url for specific information
2. do some logic based on named group
3. pass results along on request
It is easy for me to do this through urls.py for a single request.
However, i want to perform this for every request.
I am going down th
On Oct 19, 5:20 am, Keith wrote:
> I'm writing some code that does something like...
>
> 1. check url for specific information
> 2. do some logic based on named group
> 3. pass results along on request
>
> It is easy for me to do this through urls.py for a single request.
> However, i want to per
Keith,
Depending on what you're doing, it might be a good place to use a
context processor.
http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-own-context-processors
Also, if you're using (or can use) the session middleware, you can
store these values in the session.
Shaw
3 matches
Mail list logo