Fix redirect when joining session

main
Luca 2 years ago
parent 629c71c48a
commit 7ff9cc5033

@ -15,7 +15,7 @@ def join_session(request, session):
return render(request, 'vote/join_session.html', {'form': JoinSessionForm()})
request.session['session'] = session.token
return redirect('artist', session.playlist.pk)
return redirect('current_artist', session.playlist.pk)
return render(request, 'vote/join_session.html', {'form': form})

Loading…
Cancel
Save