dynamicweb/datacenterlight/urls.py

28 lines
1.1 KiB
Python
Raw Permalink Normal View History

2016-12-20 23:05:20 +00:00
from django.conf.urls import url
from django.views.generic import TemplateView, RedirectView
2016-12-20 23:05:20 +00:00
from .views import (
IndexView, PaymentOrderView, OrderConfirmationView,
WhyDataCenterLightView, ContactUsView
)
2016-12-20 23:05:20 +00:00
2016-12-20 23:05:20 +00:00
urlpatterns = [
2018-03-21 22:00:43 +00:00
url(r'^$', IndexView.as_view(), 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'),
url(r'^l/$', IndexView.as_view(), name='index_l'),
2018-03-21 22:00:43 +00:00
url(r'^new/$', RedirectView.as_view(url='/cms/datacenterlight/'),
name='cms_index'),
url(r'^whydatacenterlight/?$', WhyDataCenterLightView.as_view(),
name='whydatacenterlight'),
2017-07-18 20:09:02 +00:00
url(r'^payment/?$', PaymentOrderView.as_view(), name='payment'),
url(r'^order-confirmation/?$', OrderConfirmationView.as_view(),
name='order_confirmation'),
url(r'^contact/?$', ContactUsView.as_view(), name='contact_us'),
url(r'glasfaser/?$',
TemplateView.as_view(template_name='ungleich_page/glasfaser.html'),
name='glasfaser'),
2016-12-20 23:05:20 +00:00
]