

def get_context_object_name(self, object_list):
    '\n        Get the name of the item to be used in the context.\n        '
    if self.context_object_name:
        return self.context_object_name
    elif hasattr(self, 'model'):
        return ('%s_list' % object_list.model._meta.object_name.lower())
    else:
        return None

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/views/generic/list.py MultipleObjectMixin.get_context_object_name/VarMisuse@30/70 `object_list`->`self`