feat: Add comments to admin

This commit is contained in:
moanos [he/him] 2024-11-12 13:17:53 +01:00
parent b9bfa8e359
commit dac9661d51

View File

@ -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)