2015-08-27 16:20:08 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
2016-04-22 13:36:38 +00:00
|
|
|
from .views import DjangoHostingView, RailsHostingView, PaymentVMView, \
|
2016-05-03 05:59:40 +00:00
|
|
|
NodeJSHostingView, LoginView, SignupView, IndexView, \
|
2016-05-04 05:16:41 +00:00
|
|
|
OrdersHostingListView, OrdersHostingDetailView, VirtualMachinesPlanListView,\
|
|
|
|
VirtualMachineDetailListView
|
2015-08-27 16:20:08 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2016-04-20 06:03:32 +00:00
|
|
|
url(r'index/?$', IndexView.as_view(), name='index'),
|
2016-04-19 06:04:15 +00:00
|
|
|
url(r'django/?$', DjangoHostingView.as_view(), name='djangohosting'),
|
2016-04-20 06:03:32 +00:00
|
|
|
url(r'nodejs/?$', NodeJSHostingView.as_view(), name='nodejshosting'),
|
2016-05-03 05:59:40 +00:00
|
|
|
url(r'rails/?$', RailsHostingView.as_view(), name='railshosting'),
|
2016-04-22 13:36:38 +00:00
|
|
|
url(r'payment/?$', PaymentVMView.as_view(), name='payment'),
|
2016-05-03 05:59:40 +00:00
|
|
|
url(r'orders/?$', OrdersHostingListView.as_view(), name='orders'),
|
|
|
|
url(r'orders/(?P<pk>\d+)/?$', OrdersHostingDetailView.as_view(), name='orders'),
|
|
|
|
url(r'my-virtual-machines/?$', VirtualMachinesPlanListView.as_view(), name='virtual_machines'),
|
2016-05-04 05:16:41 +00:00
|
|
|
url(r'my-virtual-machines/(?P<pk>\d+)/?$', VirtualMachineDetailListView.as_view(),
|
|
|
|
name='virtual_machines'),
|
2016-05-03 05:59:40 +00:00
|
|
|
url(r'login/?$', LoginView.as_view(), name='login'),
|
2016-04-29 06:53:24 +00:00
|
|
|
url(r'signup/?$', SignupView.as_view(), name='signup'),
|
|
|
|
url(r'^logout/?$', 'django.contrib.auth.views.logout',
|
2016-05-03 05:59:40 +00:00
|
|
|
{'next_page': '/ungleich_page'}, name='logout')
|
2015-08-27 16:20:08 +00:00
|
|
|
]
|