mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 22:52:23 +01:00
Visually separate regular and Marietje's queue
Original commit message: Arrows and marietje part of queue updates
This commit is contained in:
@ -188,16 +188,6 @@ def skip(request):
|
||||
return JsonResponse({})
|
||||
|
||||
|
||||
@require_http_methods(["POST"])
|
||||
@api_auth_required
|
||||
def move_up(request):
|
||||
if not request.user.has_perm('queues.can_move'):
|
||||
return HttpResponseForbidden()
|
||||
playlist_song = get_object_or_404(PlaylistSong, id=request.POST.get('id'))
|
||||
playlist_song.move_up()
|
||||
return JsonResponse({})
|
||||
|
||||
|
||||
@require_http_methods(["POST"])
|
||||
@api_auth_required
|
||||
def move_down(request):
|
||||
|
||||
Reference in New Issue
Block a user