Ajouter un champ de recherche à Django Admin
class Admin(admin.ModelAdmin):
search_fields = ['name', 'last_name',...]
Homeless Herring
class Admin(admin.ModelAdmin):
search_fields = ['name', 'last_name',...]
class PhotoAdmin(admin.ModelAdmin):
...
search_fields = ['name', 'description', 'user__related_fieldname','keyword', ]