fix a leftover old-style url name

This commit is contained in:
Martin Pépin 2019-03-16 18:18:19 +01:00
parent f7fe0eaa71
commit e2a4b126d5

View file

@ -142,7 +142,7 @@ def resend(request, id):
send_mail(Subject, text, sender, receivers)
except:
erreur = "Une erreur est survenue, le mail n'a pas pu être envoyé."
return redirect("calendrier.views.view_eventbis", id)
return redirect("calendrier:view-event2", id)
else:
form = SendMail()
return render(request, "calendrier/resend.html", locals())