corbz cae5ac024e implemented filter counts #4
While this contributes to #4, it doesn't complete it as the filters are still mostly eye candy.
2024-01-09 22:48:28 +00:00

27 lines
764 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/', include([
path('one/', views.get_ticket, name="ticket-getone"),
path('many/', views.get_tickets, name="ticket-getmany"),
path("filtercounts/", views.get_filter_counts, name="ticket-getfiltercounts"),
])),
])),
# Matches any html file
re_path(r'^.*\.*', views.pages, name='pages'),
]