diff --git a/spa/api/v1/MixResource.py b/spa/api/v1/MixResource.py index 5ab9dec..8c07ef1 100644 --- a/spa/api/v1/MixResource.py +++ b/spa/api/v1/MixResource.py @@ -74,7 +74,7 @@ class MixResource(BackboneCompatibleResource): bundle.data['item_url'] = 'mix/%s' % bundle.obj.id bundle.data['play_count'] = bundle.obj.plays.count() - bundle.data['download_count'] = bundle.obj.downloads.COUNT() + bundle.data['download_count'] = bundle.obj.downloads.count() bundle.data['like_count'] = bundle.obj.likes.count() bundle.data['mode'] = 'mix' bundle.data['tooltip'] = render_to_string('inc/player_tooltip.html', {'item': bundle.obj})