how to get the first object from model in django code example Example: django queryset first element queryset.first()