Added download counter to mix

This commit is contained in:
fergalmoran
2012-10-27 16:25:03 +01:00
parent 9b6ffcdbb7
commit 7a0f0929cc
11 changed files with 35 additions and 34 deletions

View File

@@ -72,7 +72,6 @@ def header(request):
def get_mix_stream_url(request, mix_id):
try:
mix = Mix.objects.get(pk=mix_id)
mix.add_play(request.user)
data = {
'stream_url': mix.get_stream_path(),
'description': mix.description,