I have tried something like:
d = dict(queryset=cities, page=start_page,
paginate_by=USUAL_PAGINATE, context_processors=None)
return django.views.generic.list_detail.object_list(request, **d)
but I see the codes in the TEMPLATE_CONTEXT_PROCESSORS are still
executated. ;(
On Jun 25,
As Generic Views are using RequestContext by default, in most cases
it's quite good. But I have some special generic views, which will
populate the result via Ajax, so, to make it more effecient, I don't
want the views to use RequestContext. but how to "disable"
RequestContext in generic views?
2 matches
Mail list logo