urlpatterns = [ path("admin/", admin.site.urls), path("", include("auctions.urls")) ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)