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
<simonmcconn...@gmail.com> wrote:
> 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" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/092f9c42-3f1f-4cef-a7b4-9c6984013255%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN6Sv3hXzKiiwN8pY8NqO6YyF8ZUmi2oE7pNYLR9RvVqC2SD5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to