From b3c781bd9a60d73599e295af61f785a706a3897c Mon Sep 17 00:00:00 2001 From: papi Date: Sat, 11 May 2024 22:26:40 +0300 Subject: [PATCH] Link to correct html email --- accounts/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/tasks.py b/accounts/tasks.py index c8cbeff..ff863af 100644 --- a/accounts/tasks.py +++ b/accounts/tasks.py @@ -20,6 +20,6 @@ def send_new_lecturer_email(user_pk, password): send_html_email( subject="Your Dj LMS account confirmation and credentials", recipient_list=[user.email], - template="accounts/email/new_student_account_confirmation.html", + template="accounts/email/new_lecturer_account_confirmation.html", context={"user": user, "password": password}, )