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/' """用户模块扩展部分"""