def get_template_names(self):
        request = self.request
        key = 'querystring_key'
        querystring_key = request.GET.get(key,
            request.POST.get(key, PAGE_LABEL))
        if request.is_ajax() and querystring_key == self.key:
            return [self.page_template]
        return super(
            AjaxMultipleObjectTemplateResponseMixin, self).get_template_names()
Switch the templates for Ajax requests.
dataset/ETHPy150Open shtalinberg/django-el-pagination/el_pagination/views.py/AjaxMultipleObjectTemplateResponseMixin.get_template_names