#更换服务器

This commit is contained in:
xieshen 2020-12-07 23:35:00 +08:00
parent c20216838e
commit eb8e1472c6
1 changed files with 2 additions and 2 deletions

View File

@ -153,9 +153,9 @@ STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
STATIC_ROOT = '/var/www/p3/newmediamonitoring/static/'
STATIC_ROOT = '/var/www/p3/static/'
MEDIA_URL = '/media/'
MEDIA_ROOT = '/var/www/p3/newmediamonitoring/media/'
MEDIA_ROOT = '/var/www/p3/media/'
"""用户模块扩展部分"""
AUTH_PROFILE_MODULE = 'djangoadmin.myadmin.UserProfile'
"""用户模块扩展完成"""