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