﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8378	Generic views cache-like behavior	ovidiup	nobody	"Sometimes the generic views will behave like they are caching the data from the queryset argument. This happens when the queryset is passed through the info_dict dictionary and '''the queryset is filtered using a callable'''. The result of the callable is cached in the where clause. When the generic view is executed the callable from the filter is not invoked again.[[BR]]
See this blog post for more details, example and work-around: [http://pascut.com/2008/08/16/django-generic-views-cache-behavior/][[BR]]
One of the following things should be done:[[BR]]
1. The result of the callables should not be cached in the where clause; the callables should be invoked just before the query is sent to the database or[[BR]]
2. The documentation should mention this as a limitation"		closed	Documentation	dev		fixed	generic view cache	semente@…	Accepted	0	0	0	0	0	0
