fix #18 - Ajout d'un champ de recherche sur les Chronologies

This commit is contained in:
Olivier DOSSMANN 2018-02-04 14:43:10 +01:00
parent 0c3a9b3be7
commit 16847d1856

View File

@ -82,6 +82,7 @@ class GameAdmin(admin.ModelAdmin):
class TimelineAdmin(admin.ModelAdmin): class TimelineAdmin(admin.ModelAdmin):
list_display = ('date', 'status', 'item') list_display = ('date', 'status', 'item')
search_fields = ('item__name', )
admin.site.register(Platform, PlatformAdmin) admin.site.register(Platform, PlatformAdmin)