django template get first element of queryset code example Example: django queryset first element queryset.first()