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, 11:06 am, pength <[EMAIL PROTECTED]> wrote: > 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? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---