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:
sankalp committed 2026-05-27 23:33:20 +05:45
1 parent 15eef203fa
commit 18acdde6e5
37 files changed
+954 -126

No files matched your search

+8 -3
View File
@@ -1,5 +1,10 @@
"""generated with djinit"""
from django.contrib import admin
# Register your models here.
from apps.projects.models import Project
@admin.register(Project)
class ProjectAdmin(admin.ModelAdmin):
list_display = ["name", "client", "status", "created_at"]
list_filter = ["status"]
search_fields = ["name"]