(self)
return super(
            AjaxMultipleObjectTemplateResponseMixin, self).get_template_names()
Switch the templates for Ajax requests.
Switch the templates for Ajax requests.
Switch the templates for Ajax requests .
def get_template_names(self):
        """Switch the templates for Ajax requests."""
        request = self.request
        querystring_key = request.REQUEST.get('querystring_key', PAGE_LABEL)
        if request.is_ajax() and querystring_key == self.key:
            return [self.page_template]
        return super(
            AjaxMultipleObjectTemplateResponseMixin, self).get_template_names()
def get_template_names ( self ) : request = self . request querystring_key = request . REQUEST . get ( 'querystring_key' , PAGE_LABEL ) if request . is_ajax ( ) and querystring_key == self . key : return [ self . page_template ] return super ( AjaxMultipleObjectTemplateResponseMixin , self ) . get_template_names ( )