2👍
✅
You can limit query results:
def search_view(request):
...
listado = Model.objects.filter(
descripcion__istartswith=q
).order_by("descripcion")[:5]
...
Source:stackexchange.com