#首页修改

This commit is contained in:
xieshen 2020-12-07 00:13:52 +08:00
parent b477458463
commit 280c08d7dd
2 changed files with 3 additions and 3 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.8/newmediamonitoring/static/'
MEDIA_URL = '/media/'
MEDIA_ROOT = '/var/www/p3/newmediamonitoring/media/'
MEDIA_ROOT = '/var/www/p3.8/newmediamonitoring/media/'
"""用户模块扩展部分"""
AUTH_PROFILE_MODULE = 'djangoadmin.myadmin.UserProfile'
"""用户模块扩展完成"""

2
fabfile.py vendored
View File

@ -12,4 +12,4 @@ env.remote_owner = 'root'
# env.remote_group = 'www-data'
env.remote_group = 'root'
# env.restart_cmd = 'sudo service apache2 restart'
env.restart_cmd = 'systemctl start httpd.service'
env.restart_cmd = 'systemctl restart httpd.service'