From dac9661d5149548327231162e9472e0ef1856df4 Mon Sep 17 00:00:00 2001 From: moanos Date: Tue, 12 Nov 2024 13:17:53 +0100 Subject: [PATCH] feat: Add comments to admin --- src/fellchensammlung/admin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fellchensammlung/admin.py b/src/fellchensammlung/admin.py index 65ff7ff..5ce0996 100644 --- a/src/fellchensammlung/admin.py +++ b/src/fellchensammlung/admin.py @@ -62,6 +62,9 @@ class RescueOrganizationAdmin(admin.ModelAdmin): class TextAdmin(admin.ModelAdmin): search_fields = ("title__icontains", "text_code__icontains",) +@admin.register(Comment) +class CommentAdmin(admin.ModelAdmin): + list_filter = ("user",) admin.site.register(Animal) admin.site.register(Species)