mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 17:42:21 +01:00
Merge branch 'marietje-zuid' of gitlab.science.ru.nl:dsprenkels/MarietjeDjango into marietje-zuid
This commit is contained in:
@ -34,8 +34,8 @@ def play(request):
|
||||
current_queue = get_object_or_404(Queue, id=request.POST.get('queue'))
|
||||
current_queue.started_at = timezone.now()
|
||||
current_queue.save()
|
||||
current_song = queue.current_song()
|
||||
current_song.played_at = queue.started_at
|
||||
current_song = current_queue.current_song()
|
||||
current_song.played_at = current_queue.started_at
|
||||
current_song.save()
|
||||
|
||||
return JsonResponse({})
|
||||
|
||||
Reference in New Issue
Block a user