fix static file issue

This commit is contained in:
JohnYan 2020-12-11 19:43:12 +08:00
parent e7c5ae4532
commit 0ede2a3a84
2 changed files with 6 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# Project exclude paths
/venv/

View File

@ -120,3 +120,7 @@ USE_TZ = False
# https://docs.djangoproject.com/en/3.1/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]