Thanks I realized I made a mistake there. I changed the models to from
Cjarfield to
product = models.ForeignKey(Product, on_delete=models.CASCADE) Still
stuck on the view
On Sat, Jul 14, 2018 at 3:55 PM, Simon McConnell
wrote:
> item.product.image from your template points to nothing. Product i
item.product.image from your template points to nothing. Product is a CharField
so I don't see it having any image attribute.
Try to display some text for item.product or item.price and see how you go.
--
You received this message because you are subscribed to the Google Groups
"Django users"
https://stackoverflow.com/questions/51341215/including-detailview-context-in-listview-page-in-the-order-history-page-using-dj
Hi Djangonauts,
I would like to add some Order details(DetailView) in the Order history
page(ListView), See image example below ( I have made the image on
photoshop).
3 matches
Mail list logo