280294480@qq.com

  • 内容:自己搞定了,哈哈,把path('media/(?P<path>.*)$', serve, {"document_root":MEDIA_ROOT}),,改成re_path就好了,同时加个FROM DJANGO.URLS IMPORT RE_PATH