refactor(src/notes): remove admin registration for ProjectNote and add inline comment

The changes reduce admin duplication and align with ProjectAdmin inline registration.
This commit is contained in:
sankalp committed 2026-06-28 15:45:27 +05:45
1 parent 1f236a44b8
commit 0d11aa0e16
1 file changed
+1 -10
+1 -10
View File
@@ -1,10 +1 @@
from django.contrib import admin
from src.notes.models import ProjectNote
@admin.register(ProjectNote)
class ProjectNoteAdmin(admin.ModelAdmin):
list_display = ("id", "title", "project", "created_by", "note_date")
list_filter = ("project", "note_date")
search_fields = ("title", "project__name")
# ProjectNote is registered as an inline on ProjectAdmin (src/projects/admin.py)