Answers for "query first 5 element in django"

0

query first 5 element in django

Employer.objects.values('id').annotate(jobtitle_count=Count('jobtitle')).order_by('-jobtitle_count')[:5]
Posted by: Guest on June-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language