2021-07-19 14:36:10 +00:00
|
|
|
from django.urls import path, include
|
|
|
|
from django.conf import settings
|
|
|
|
from django.conf.urls.static import static
|
2021-08-04 10:03:55 +00:00
|
|
|
from wkhtmltopdf.views import PDFTemplateView
|
2021-08-02 09:24:19 +00:00
|
|
|
from .views import *
|
2021-07-19 14:36:10 +00:00
|
|
|
|
|
|
|
app_name = 'matrixhosting'
|
|
|
|
|
|
|
|
urlpatterns = [
|
2021-07-30 06:51:35 +00:00
|
|
|
path('order/new/', OrderPaymentView.as_view(), name='payment'),
|
2021-08-12 10:28:19 +00:00
|
|
|
path('order/confirm/', OrderConfirmationView.as_view(), name='order_confirmation'),
|
2021-08-02 09:24:19 +00:00
|
|
|
path('order/success/', OrderSuccessView.as_view(), name='order_success'),
|
2021-08-13 08:06:13 +00:00
|
|
|
path('order/invoice/<int:bill_id>/download/', InvoiceDownloadView.as_view(), name='invoice_download'),
|
2021-08-09 07:43:11 +00:00
|
|
|
path('billing/', PaymentsView.as_view(), name='billing'),
|
2021-08-12 10:28:19 +00:00
|
|
|
path('billing/cards', CardsView.as_view(), name='cards'),
|
2021-08-13 08:06:13 +00:00
|
|
|
path('billing/bills', BillsView.as_view(), name='bills'),
|
2021-08-12 10:28:19 +00:00
|
|
|
path('instances/', InstancesView.as_view(), name='instances'),
|
2021-08-09 07:43:11 +00:00
|
|
|
path('orders/', OrdersView.as_view(), name='orders'),
|
2021-07-19 14:36:10 +00:00
|
|
|
path('', IndexView.as_view(), name='index'),
|
|
|
|
]
|