- New Features * Introduce CustomUser with role field and admin integration * Add ProjectMembership model linking users to projects * Add Ticket model with status, type, creator, and project relationships * Register CustomUser and ProjectMembership in Django admin with list views * Add URLs and views for account management and ticket CRUD operations - Enhancements * Provide pagination and filtering for ticket listings * Improve admin UI with role‑specific fieldsets - Bug Fixes * Remove obsolete serializers and placeholder files
19 lines
667 B
Python
19 lines
667 B
Python
from django.urls import path
|
|
|
|
from apps.projects.views import (
|
|
ProjectCreateView,
|
|
ProjectDeleteView,
|
|
ProjectDetailView,
|
|
ProjectListView,
|
|
ProjectUpdateView,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path("", ProjectListView.as_view(), name="home"),
|
|
path("projects/", ProjectListView.as_view(), name="project_list"),
|
|
path("projects/<int:pk>/", ProjectDetailView.as_view(), name="project_detail"),
|
|
path("projects/create/", ProjectCreateView.as_view(), name="project_create"),
|
|
path("projects/<int:pk>/edit/", ProjectUpdateView.as_view(), name="project_edit"),
|
|
path("projects/<int:pk>/delete/", ProjectDeleteView.as_view(), name="project_delete"),
|
|
]
|