修复管理员界面显示问题和设置
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -176,3 +176,6 @@ cython_debug/
|
||||
|
||||
|
||||
media/
|
||||
staticfiles/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
@@ -117,6 +117,10 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/5.2/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / "crawler" / "static",
|
||||
]
|
||||
STATIC_ROOT = BASE_DIR / "staticfiles"
|
||||
|
||||
# Media files (用户上传的文件)
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
Reference in New Issue
Block a user