Link to correct html email

This commit is contained in:
papi 2024-05-11 22:26:40 +03:00
parent f1c00c36a8
commit b3c781bd9a

View File

@ -20,6 +20,6 @@ def send_new_lecturer_email(user_pk, password):
send_html_email( send_html_email(
subject="Your Dj LMS account confirmation and credentials", subject="Your Dj LMS account confirmation and credentials",
recipient_list=[user.email], 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}, context={"user": user, "password": password},
) )