📅  最后修改于: 2022-03-11 15:00:41.542000             🧑  作者: Mango
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
# ... the rest of your URLconf goes here ...
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)