first object of django query set code example Example: django queryset first element queryset.first()