Files
project-managment/apps/tickets/urls.py
T
sankalp 3197ef1665 feat(apps): implement priority handling and comment system for kanban cards
New Features:
- Add `Priority` enum and `priority` field to `Card` model.
- Add `TicketComment` model and `TicketCommentCreateView` with inline comment support.
- Introduce templatetag filters `add_class`, `field_type`, and `render_markdown`.

Enhancements:
- Extend `CustomUser.is_admin()` to recognise superusers.
- Populate `KanbanConfig.ready()` to import signals for proper initialization.
- Expand ticket views and URLs to include assignee, priority, and comment handling.

Bug Fixes:
- None.
2026-05-28 00:27:02 +05:45

20 lines
726 B
Python

from django.urls import path
from apps.tickets.views import (
TicketCommentCreateView,
TicketCreateView,
TicketDeleteView,
TicketDetailView,
TicketListView,
TicketUpdateView,
)
urlpatterns = [
path("tickets/", TicketListView.as_view(), name="ticket_list"),
path("tickets/create/", TicketCreateView.as_view(), name="ticket_create"),
path("tickets/<int:pk>/", TicketDetailView.as_view(), name="ticket_detail"),
path("tickets/<int:pk>/edit/", TicketUpdateView.as_view(), name="ticket_edit"),
path("tickets/<int:pk>/delete/", TicketDeleteView.as_view(), name="ticket_delete"),
path("tickets/<int:ticket_pk>/comments/", TicketCommentCreateView.as_view(), name="ticket_comment"),
]