static root

This commit is contained in:
caoqianming 2020-06-03 10:15:56 +08:00
parent 9f406eb924
commit 8098170b0e
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')