'Returns the name of the template to be used for rendering this tab.
By default it returns the value of the ``template_name`` attribute
on the ``Tab`` class.'

def get_template_name(self, request):

    if (not hasattr(self, 'template_name')):
        raise AttributeError(('%s    must    have    a    template_name    attribute    or    override    the    get_template_name    method.' % self.__class__.__name__))
    return self.template_name
