We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4320358 commit b8001d6Copy full SHA for b8001d6
participantsprofile/views.py
@@ -14,7 +14,7 @@ def participant_events(request):
14
for e in form.data.getlist('events'):
15
if e not in [e.id for e in participant.events.all()]:
16
participant.events.add(e)
17
- return HttpResponseRedirect('./')
+ return HttpResponseRedirect('/')
18
else:
19
participant = request.user.get_profile().participant_set.all()[0]
20
events = [ e.id for e in participant.events.all()]
0 commit comments