From 748a74f38bd01a87512025581c728899cde754f3 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Thu, 22 Mar 2018 03:11:20 +0530 Subject: [PATCH] redirect from static dcl landing to cms landing --- datacenterlight/urls.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/datacenterlight/urls.py b/datacenterlight/urls.py index c08d6f01..2c13abca 100644 --- a/datacenterlight/urls.py +++ b/datacenterlight/urls.py @@ -1,13 +1,15 @@ from django.conf.urls import url -from django.views.generic import TemplateView +from django.views.generic import TemplateView, RedirectView from .views import ( IndexView, PaymentOrderView, OrderConfirmationView, WhyDataCenterLightView, ContactUsView ) + urlpatterns = [ - url(r'^$', IndexView.as_view(), name='index'), + url(r'^$', RedirectView.as_view(url='/cms/datacenterlight/'), + name='index'), url(r'^t/$', IndexView.as_view(), name='index_t'), url(r'^g/$', IndexView.as_view(), name='index_g'), url(r'^f/$', IndexView.as_view(), name='index_f'),