Source

cmsplugin-news / cmsplugin_news / admin.py

Diff from to

File cmsplugin_news/admin.py

     list_display = ('slug', 'title', 'is_published', 'pub_date')
     #list_editable = ('title', 'is_published')
     list_filter = ('is_published', )
-    search_fields = ['title', 'content']
+    search_fields = ['title', 'excerpt', 'content']
     prepopulated_fields = {'slug': ('title',)}
     form = NewsForm
     
                                             rows_updated) % {'count': rows_updated})
     make_unpublished.short_description = _('Unpublish selected news')
 
-admin.site.register(News, NewsAdmin)
+admin.site.register(News, NewsAdmin)