feat(tickets): add Ticketing app with models, admin, serializers and views
Adds full ticketing functionality for issue tracking, including priority and status management, comments, history, and API endpoints.
This commit is contained in:
5 files changed
+574
-15
No files matched your search
+23
-4
@@ -1,7 +1,26 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.urls import path
|
||||
|
||||
from src.tickets import views
|
||||
|
||||
urlpatterns = [
|
||||
# Add your URL patterns here
|
||||
]
|
||||
path("", views.TicketListCreateView.as_view(), name="ticket-list"),
|
||||
path("priorities/", views.PriorityListView.as_view(), name="priority-list"),
|
||||
path(
|
||||
"priorities/<int:pk>/",
|
||||
views.PriorityDetailView.as_view(),
|
||||
name="priority-detail",
|
||||
),
|
||||
path("<int:pk>/", views.TicketDetailView.as_view(), name="ticket-detail"),
|
||||
path("<int:pk>/move/", views.move_ticket_view, name="ticket-move"),
|
||||
path(
|
||||
"<int:ticket_pk>/comments/",
|
||||
views.TicketCommentListCreateView.as_view(),
|
||||
name="ticket-comment-list",
|
||||
),
|
||||
path(
|
||||
"<int:ticket_pk>/histories/",
|
||||
views.TicketHistoryListView.as_view(),
|
||||
name="ticket-history-list",
|
||||
),
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user