Corban-Lee Jones f630e00c21 fixed ticket-get url
needed to specify uuid instead of int
2024-01-05 09:23:33 +00:00

23 lines
569 B
Python

# -*- encoding: utf-8 -*-
from django.urls import path, re_path, include
from apps.home import views
urlpatterns = [
# The home page
path('', views.index, name='home'),
# Custom Dashboard
path('dashboard/', views.dashboard, name="dashboard"),
path('tickets/', include([
path('', views.tickets, name="tickets"),
path('new/', views.new_ticket, name="ticket-new"),
path('get/<uuid:ticket_id>', views.get_ticket, name="ticket-get"),
])),
# Matches any html file
re_path(r'^.*\.*', views.pages, name='pages'),
]