1.配置路由
re_path(r"^uploads/(?P.*)$",
“django.views.static.serve”,
{“document_root”: settings.MEDIA_ROOT,}),

报错
raise TypeError(‘view must be a callable or a list/tuple in the case of include().’) TypeError: view must be a callable or a list/tuple in the case of include().

解决
pychram配置kindEditor遇到的问题

相关文章: