20 lines
616 B
Python
20 lines
616 B
Python
from django.urls import path
|
|
|
|
from .views import (
|
|
BugReportCreateView,
|
|
TicketCreateView,
|
|
TicketDetailView,
|
|
TicketMessageCreateView,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path('support/bug-reports', BugReportCreateView.as_view(), name='support-bug-report-create'),
|
|
path('support/tickets', TicketCreateView.as_view(), name='support-ticket-create'),
|
|
path('support/tickets/<int:ticket_id>', TicketDetailView.as_view(), name='support-ticket-detail'),
|
|
path(
|
|
'support/tickets/<int:ticket_id>/messages',
|
|
TicketMessageCreateView.as_view(),
|
|
name='support-ticket-message-create',
|
|
),
|
|
]
|