Hi,

I've created a view which displays a simple list of all objects of one
model. If a 'search_string' URL parameter is defined, the list is
filtered by this search string and the search string itself will be
displayed in the template as well.
Please have a look at the complete view here: http://dpaste.com/hold/63722/

The problem now is, that the 'search_string' context dict entry is
always set to the last defined value, even if no 'search_string' URL
parameter is passed. I suspect that the context dict is somehow cached
or stored in the session but I have not found any documentation that
would explain this behaviour. Can anyone explain me if this is
"normal" behaviour or point me to the problem?


Thanks for any hints.

PS: I'm running 1.0.2, using the build-in server, with enabled
middlewares: CommonMiddleware, SessionMiddleware,
AuthenticationMiddleware

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