Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

image no showing in django

urlpatterns = [
    path("admin/", admin.site.urls),
    path("", include("auctions.urls"))
] 

if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL,
                          document_root=settings.MEDIA_ROOT)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #image #showing #django
ADD COMMENT
Topic
Name
1+4 =