feat(apps): add role‑based CustomUser admin and ticketing system
- 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
This commit is contained in:
37 files changed
+954
-126
No files matched your search
+14
-4
@@ -1,7 +1,17 @@
|
||||
"""generated with djinit"""
|
||||
|
||||
from django.urls import path
|
||||
|
||||
from apps.issues.views import (
|
||||
IssueCommentCreateView,
|
||||
IssueCreateView,
|
||||
IssueDetailView,
|
||||
IssueListView,
|
||||
IssueUpdateView,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
# Add your URL patterns here
|
||||
]
|
||||
path("issues/", IssueListView.as_view(), name="issue_list"),
|
||||
path("issues/create/", IssueCreateView.as_view(), name="issue_create"),
|
||||
path("issues/<int:pk>/", IssueDetailView.as_view(), name="issue_detail"),
|
||||
path("issues/<int:pk>/edit/", IssueUpdateView.as_view(), name="issue_edit"),
|
||||
path("issues/<int:issue_pk>/comments/", IssueCommentCreateView.as_view(), name="issue_comment"),
|
||||
]
|
||||
Reference in new issue
Block a user