|
|
@ -15,7 +15,7 @@ def join_session(request, session):
|
|
|
|
return render(request, 'vote/join_session.html', {'form': JoinSessionForm()})
|
|
|
|
return render(request, 'vote/join_session.html', {'form': JoinSessionForm()})
|
|
|
|
|
|
|
|
|
|
|
|
request.session['session'] = session.token
|
|
|
|
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})
|
|
|
|
return render(request, 'vote/join_session.html', {'form': form})
|
|
|
|
|
|
|
|
|
|
|
|