python - how to display uploaded image with FileField in django template -
i'm learning django
, i'm trying create simple upload site. figured out should use django
filefield
purpose want know how display images uploaded using field on index page using django template . know can use imagefield
in case i'm trying know if possible filefield
?
<img src="{{fileobj.url}}"/>
Comments
Post a Comment