(self, request=None, origin=None)
Get the view template name.

        :param django.http.HttpRequest request:
        :param string origin: Origin of the request. Hook to provide custom
            templates for apps. Example value: 'public_dashboard'. Take the
            `public_dashboard` app as example.
Get the view template name.
Get the view template name .
def get_view_template_name(self, request=None, origin=None):
        """Get the view template name.

        :param django.http.HttpRequest request:
        :param string origin: Origin of the request. Hook to provide custom
            templates for apps. Example value: 'public_dashboard'. Take the
            `public_dashboard` app as example.
        """
        if not self.view_template_name_ajax:
            return self.view_template_name
        elif request and request.is_ajax():
            return self.view_template_name_ajax
        else:
            return self.view_template_name
def get_view_template_name ( self , request = None , origin = None ) : if not self . view_template_name_ajax : return self . view_template_name elif request and request . is_ajax ( ) : return self . view_template_name_ajax else : return self . view_template_name