静态文件位置

pull/2/head
李强 2021-03-16 23:25:44 +08:00
parent d601e11737
commit e8bef583a9
34 changed files with 0 additions and 1 deletions

View File

@ -133,7 +133,6 @@ STATIC_URL = '/static/'
# # 设置django的静态文件目录
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
os.path.join(BASE_DIR, "apps", "vadmin", "static")
]
# 访问上传文件的url地址前缀
MEDIA_URL = "/media/"

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB