[Fixed]-Django imageField url on html

1👍

You would need to define MEDIA_ROOT as mentioned here

From Django officaal Docs:

urlpatterns = [
# ... the rest of your URLconf goes here ...
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

You can also have a look at this.

Leave a comment