feat: Add comments to admin
This commit is contained in:
parent
b9bfa8e359
commit
dac9661d51
@ -62,6 +62,9 @@ class RescueOrganizationAdmin(admin.ModelAdmin):
|
|||||||
class TextAdmin(admin.ModelAdmin):
|
class TextAdmin(admin.ModelAdmin):
|
||||||
search_fields = ("title__icontains", "text_code__icontains",)
|
search_fields = ("title__icontains", "text_code__icontains",)
|
||||||
|
|
||||||
|
@admin.register(Comment)
|
||||||
|
class CommentAdmin(admin.ModelAdmin):
|
||||||
|
list_filter = ("user",)
|
||||||
|
|
||||||
admin.site.register(Animal)
|
admin.site.register(Animal)
|
||||||
admin.site.register(Species)
|
admin.site.register(Species)
|
||||||
|
Loading…
Reference in New Issue
Block a user