From a8b785d4903c817abafa3696ebd0c0e6b69608ef Mon Sep 17 00:00:00 2001 From: Amir Date: Fri, 21 Feb 2025 00:53:18 +0100 Subject: [PATCH] quickfix template path --- backend/accounts/templates/accounts/confirmation_expired.html | 2 +- backend/accounts/views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/accounts/templates/accounts/confirmation_expired.html b/backend/accounts/templates/accounts/confirmation_expired.html index 8ca56b0..66e6a9b 100644 --- a/backend/accounts/templates/accounts/confirmation_expired.html +++ b/backend/accounts/templates/accounts/confirmation_expired.html @@ -1,4 +1,4 @@ -{% extends "base_login.html" %} +{% extends "base.html" %} {%block content%}

Link has expired!

diff --git a/backend/accounts/views.py b/backend/accounts/views.py index 3c75431..901f3ea 100644 --- a/backend/accounts/views.py +++ b/backend/accounts/views.py @@ -17,10 +17,10 @@ def confirm_email(request, uuid): confirmation = get_object_or_404(EmailConfirmation, uuid=uuid) if confirmation.is_expired(): - return render(request, 'confirmation_expired.html', {'email': confirmation.email}) + return render(request, 'accounts/confirmation_expired.html', {'email': confirmation.email}) task = create_document_for_organization.delay(confirmation.email) - return render(request, 'confirmation_success.html', {'email': confirmation.email}) + return render(request, 'accounts/confirmation_success.html', {'email': confirmation.email}) def resend_confirmation(request,email): if request.method == 'POST':