diff --git a/calendrier/views.py b/calendrier/views.py index 73cb24d..472c09d 100644 --- a/calendrier/views.py +++ b/calendrier/views.py @@ -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())