# Use the magic syntax with "*" to expand the list Knight.objects.all().prefetch_related(*selected_attributes)