django get field from foreign key code example
Example: how to get foregine kew field in models.py
items = CartItem.objects.select_related('product').filter(cart=cart)
items = CartItem.objects.select_related('product').filter(cart=cart)