I'm using the right code for inserting an ImageField in my html page but it still won't render the image, showing a broken link instead. This is the code:
<img src=" {{ model.imageFieldName.url }}>
I'm using 1.8 with debug=truee on my windows machine. I'm new to web development so any explanations would be appreciatied.
Aucun commentaire:
Enregistrer un commentaire