feat: add search in admin for ANs

This commit is contained in:
moanos [he/him] 2024-11-07 22:01:21 +01:00
parent 50c1a4f2c6
commit 2641b2e7bf

View File

@ -14,6 +14,7 @@ class StatusInline(admin.StackedInline):
@admin.register(AdoptionNotice)
class AdoptionNoticeAdmin(admin.ModelAdmin):
search_fields = ("name__contains", "description__contains")
inlines = [
StatusInline,
]