From: yomguy Date: Sat, 18 Aug 2012 21:11:15 +0000 (+0200) Subject: add id to media admin search X-Git-Tag: 0.9-probarreau~376 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3ed1d8e5833cbd7265f7a5f9680fd1a8b319211e;p=teleforma.git add id to media admin search --- diff --git a/teleforma/admin.py b/teleforma/admin.py index 06b8e417..d55c4053 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -44,6 +44,7 @@ class DocumentAdmin(admin.ModelAdmin): class MediaAdmin(admin.ModelAdmin): exclude = ['readers'] + search_fields = ['id'] class ConferenceAdmin(admin.ModelAdmin): exclude = ['readers']