get first object in database in django code example Example: django queryset first element queryset.first()