quickfix template path
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{% extends "base_login.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{%block content%}
|
{%block content%}
|
||||||
<h2>Link has expired! </h2>
|
<h2>Link has expired! </h2>
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ def confirm_email(request, uuid):
|
|||||||
confirmation = get_object_or_404(EmailConfirmation, uuid=uuid)
|
confirmation = get_object_or_404(EmailConfirmation, uuid=uuid)
|
||||||
|
|
||||||
if confirmation.is_expired():
|
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)
|
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):
|
def resend_confirmation(request,email):
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
|||||||
Reference in New Issue
Block a user