

def get_template_names(self):
    '\n        Return a list of template names to be used for the request. Must return\n        a list. May not be called if render_to_response is overridden.\n        '
    try:
        names = super(MultipleObjectTemplateResponseMixin, self).get_template_names()
    except ImproperlyConfigured:
        names = []
    if hasattr(self.object_list, 'model'):
        opts = self.object_list.model._meta
        names.append(('%s/%s%s.html' % (self.app_label, opts.object_name.lower(), self.template_name_suffix)))
    return names

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/views/generic/list.py MultipleObjectTemplateResponseMixin.get_template_names/VarMisuse@71/158 `opts`->`self`