Create a page to edit checklist name and tasks + another page for deletion

This commit is contained in:
Benbb96
2023-04-29 00:24:06 +02:00
parent b8d06a0fb1
commit af1ba5f205
9 changed files with 262 additions and 21 deletions

View File

@ -93,6 +93,16 @@ urlpatterns = [
staff.attachment_del,
name="attachment_del",
),
path(
"tickets/<int:ticket_id>/checklists/<int:checklist_id>/",
staff.edit_ticket_checklist,
name="edit_ticket_checklist"
),
path(
"tickets/<int:ticket_id>/checklists/<int:checklist_id>/delete/",
staff.delete_ticket_checklist,
name="delete_ticket_checklist"
),
re_path(r"^raw/(?P<type>\w+)/$", staff.raw_details, name="raw"),
path("rss/", staff.rss_list, name="rss_index"),
path("reports/", staff.report_index, name="report_index"),