- def get_object(self, request, obj_type):
- return {'type': obj_type, 'all': 'all' in request.GET}
+ def get_object(self, request, type):
+ return {'type': type, 'all': 'all' in request.GET}
def item_description(self, item):
lines = []
artist = item.extra_info.get('artist_name', None)
if artist is not None:
lines.append(u'Czyta: %s' % artist)
def item_description(self, item):
lines = []
artist = item.extra_info.get('artist_name', None)
if artist is not None:
lines.append(u'Czyta: %s' % artist)
return u'<br/>\n'.join(lines)
def item_link(self, item):
return u'<br/>\n'.join(lines)
def item_link(self, item):