Skip to content

Commit b8001d6

Browse files
author
Kishore kumar J
committed
Redirects to Home after updating Event participation
1 parent 4320358 commit b8001d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

participantsprofile/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def participant_events(request):
1414
for e in form.data.getlist('events'):
1515
if e not in [e.id for e in participant.events.all()]:
1616
participant.events.add(e)
17-
return HttpResponseRedirect('./')
17+
return HttpResponseRedirect('/')
1818
else:
1919
participant = request.user.get_profile().participant_set.all()[0]
2020
events = [ e.id for e in participant.events.all()]

0 commit comments

Comments
 (0)