how to use first element of a database django code example Example: django queryset first element queryset.first()