From ce11524fbaf8eba6a175054cf0553234ff24e82b Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Sun, 11 Jun 2017 05:15:48 +0530 Subject: [PATCH] Added signup-validate and validate endpoints to hosting's urls --- hosting/urls.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosting/urls.py b/hosting/urls.py index 959eedf0..495ac312 100644 --- a/hosting/urls.py +++ b/hosting/urls.py @@ -1,7 +1,7 @@ from django.conf.urls import url from .views import DjangoHostingView, RailsHostingView, PaymentVMView,\ - NodeJSHostingView, LoginView, SignupView, IndexView, \ + NodeJSHostingView, LoginView, SignupView, SignupValidateView, SignupValidatedView, IndexView, \ OrdersHostingListView, OrdersHostingDetailView, VirtualMachinesPlanListView,\ VirtualMachineView, OrdersHostingDeleteView, NotificationsView, \ MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView, HostingPricingView,\ @@ -35,9 +35,11 @@ urlpatterns = [ name='read_notification'), url(r'login/?$', LoginView.as_view(), name='login'), url(r'signup/?$', SignupView.as_view(), name='signup'), + url(r'signup-validate/?$', SignupValidateView.as_view(), name='signup-validate'), url(r'reset-password/?$', PasswordResetView.as_view(), name='reset_password'), url(r'reset-password-confirm/(?P[0-9A-Za-z]+)-(?P.+)/$', PasswordResetConfirmView.as_view(), name='reset_password_confirm'), url(r'^logout/?$', 'django.contrib.auth.views.logout', - {'next_page': '/hosting/login?logged_out=true'}, name='logout') + {'next_page': '/hosting/login?logged_out=true'}, name='logout'), + url(r'^validate/(?P.*)/$', SignupValidatedView.as_view(), name='validate') ]