You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
622 B

from django.urls import path
from apps.tickets.views import (
TicketListCreateView,
TicketDetailView,
TicketReplyView,
TicketCloseView,
TicketRateView,
)
urlpatterns = [
# Ticket Inquiries
path('', TicketListCreateView.as_view(), name='ticket_list_create'),
path('<str:pk_or_code>/', TicketDetailView.as_view(), name='ticket_detail'),
path('<str:pk_or_code>/reply/', TicketReplyView.as_view(), name='ticket_reply'),
path('<str:pk_or_code>/close/', TicketCloseView.as_view(), name='ticket_close'),
path('<str:pk_or_code>/rate/', TicketRateView.as_view(), name='ticket_rate'),
]