django怎么实现从数据库获取图片在前端显示

from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
path(‘admin/‘, admin.site.urls),
path(‘student/‘, include(‘app01.urls‘)),
path(‘student/‘, include(‘app01.urls‘)),
]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)

django怎么实现从数据库获取图片在前端显示

上一篇:spring-boot-route(七)整合jdbcTemplate操作数据库


下一篇:如何用5000行JS撸一个关系型数据库