|
@@ -9,13 +9,11 @@ app_name = "tickets"
|
|
|
urlpatterns = [
|
|
|
path("", TicketListView.as_view(), name="ticket_list_list"),
|
|
|
path("search/", search, name="search"),
|
|
|
- path("ticket_list_create/", TicketListCreateView.as_view(), name="ticket_list_create"),
|
|
|
path("my_tickets/", ticket_list_detail, {"my_tickets": True}, name="my_tickets"),
|
|
|
path("assignments/", ticket_list_detail, {"assignments": True}, name="assignments"),
|
|
|
|
|
|
path("<int:pk>/", ticket_list_detail, name="ticket_list_detail"),
|
|
|
path("<int:pk>/ticket_create/", TicketCreateView.as_view(), name="ticket_create"),
|
|
|
- path("<int:pk>/delete", TicketListDeleteView.as_view(), name="ticket_list_delete"),
|
|
|
|
|
|
path("ticket/<int:pk>/", TicketDetailView.as_view(), name="ticket_detail"),
|
|
|
path("ticket/<int:pk>/edit", TicketEditView.as_view(), name="ticket_edit"),
|