Clarification: this variable needs to be accessible from all views
(and middleware).
The variable is a status notification to be optionally printed at the
top of the returned response page.



On Feb 28, 2:16 am, Dennis <dennisf...@gmail.com> wrote:
> I want a variable that I know will be re-initialized on each http
> request.
> I'm not sure how to do that.
> One idea is to create middleware that resets the variable on each
> request.
> Just wondering if there is a simplier solution.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to