Merge pull request #594 from tiwariav/task/dcl_url_reditect_to_cms
redirect old dcl landing to cms dcl landing
This commit is contained in:
commit
5184a25215
1 changed files with 4 additions and 2 deletions
|
@ -1,13 +1,15 @@
|
||||||
from django.conf.urls import url
|
from django.conf.urls import url
|
||||||
from django.views.generic import TemplateView
|
from django.views.generic import TemplateView, RedirectView
|
||||||
|
|
||||||
from .views import (
|
from .views import (
|
||||||
IndexView, PaymentOrderView, OrderConfirmationView,
|
IndexView, PaymentOrderView, OrderConfirmationView,
|
||||||
WhyDataCenterLightView, ContactUsView
|
WhyDataCenterLightView, ContactUsView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
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'^t/$', IndexView.as_view(), name='index_t'),
|
||||||
url(r'^g/$', IndexView.as_view(), name='index_g'),
|
url(r'^g/$', IndexView.as_view(), name='index_g'),
|
||||||
url(r'^f/$', IndexView.as_view(), name='index_f'),
|
url(r'^f/$', IndexView.as_view(), name='index_f'),
|
||||||
|
|
Loading…
Reference in a new issue