class PhotoAdmin(admin.ModelAdmin): ... search_fields = ['name', 'description', 'user__related_fieldname','keyword', ]