diff --git a/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc b/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc index 0a54222e..2f29638b 100644 Binary files a/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc and b/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc differ diff --git a/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc b/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc index 315f1b19..672dbb7f 100644 Binary files a/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc and b/osinaweb/osinacore/__pycache__/urls.cpython-310.pyc differ diff --git a/osinaweb/osinacore/__pycache__/views.cpython-310.pyc b/osinaweb/osinacore/__pycache__/views.cpython-310.pyc index 18eadc21..dff17124 100644 Binary files a/osinaweb/osinacore/__pycache__/views.cpython-310.pyc and b/osinaweb/osinacore/__pycache__/views.cpython-310.pyc differ diff --git a/osinaweb/osinacore/urls.py b/osinaweb/osinacore/urls.py index d33f431b..1e4b138b 100644 --- a/osinaweb/osinacore/urls.py +++ b/osinaweb/osinacore/urls.py @@ -26,7 +26,6 @@ urlpatterns = [ path('signup', views.signup, name='signup'), path('check-email-availability/', views.check_email_availability, name='check-email-availability'), path('activate///', views.activate, name='activate'), - path('confirmation-sent/', views.confirmation_sent, name='activation_sent'), path('forgot-password/', views.forgot_password, name='forgot-password'), path('reset-password///', views.reset_password, name='forgot-password'), diff --git a/osinaweb/osinacore/views.py b/osinaweb/osinacore/views.py index b01dfffd..1efe0f30 100644 --- a/osinaweb/osinacore/views.py +++ b/osinaweb/osinacore/views.py @@ -69,13 +69,6 @@ def signin(request): -def confirmation_sent(request, *args, **kwargs): - context = { - - } - return render(request, 'email-confirmation-sent.html', context) - - def signup(request): form = CreateUserForm() reference = Reference.objects.get(name='Osina') @@ -114,7 +107,7 @@ def signup(request): }) send_mail(mail_subject, message, settings.EMAIL_HOST_USER, [user.email], html_message=message) - return redirect('activation_sent') + return render(request, 'email-confirmation-sent.html', context) else: print('Form is not valid. Errors:')