From: Radek Czajka Date: Mon, 31 Jan 2011 14:02:03 +0000 (+0100) Subject: add search to bookmedia admin X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/dd69c250f4c19359906d2c44cd2da07b11664280?ds=inline;hp=-c add search to bookmedia admin --- dd69c250f4c19359906d2c44cd2da07b11664280 diff --git a/apps/catalogue/admin.py b/apps/catalogue/admin.py index d11750dbd..94f8f302d 100644 --- a/apps/catalogue/admin.py +++ b/apps/catalogue/admin.py @@ -53,6 +53,7 @@ class MediaAdmin(admin.ModelAdmin): list_display = ('name', 'type', 'uploaded_at') ordering = ('name', 'type') + search_fields = ('name',)