From aa1833d3abffed66ffa09e40b7b64a4da75f9a5b Mon Sep 17 00:00:00 2001 From: Bob <1397910458@qq.com> Date: Sun, 23 Aug 2020 12:10:37 +0800 Subject: [PATCH] =?UTF-8?q?#=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95=E3=80=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NewMediaMonitoring/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewMediaMonitoring/settings.py b/NewMediaMonitoring/settings.py index 9eb84b5..3252058 100644 --- a/NewMediaMonitoring/settings.py +++ b/NewMediaMonitoring/settings.py @@ -136,7 +136,7 @@ STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static"), ] STATIC_ROOT = '/var/www/p3/newmediamonitoring/static/' -MEDIA_URL = '/static/media/' +MEDIA_URL = '/media/' MEDIA_ROOT = '/var/www/p3/newmediamonitoring/media/' """用户模块扩展部分"""