get first query in django model query code example Example: django queryset first element queryset.first()