fix static file path

This commit is contained in:
virusdefender 2017-11-25 15:47:56 +08:00
parent 05475fb161
commit 7fce29cb71
2 changed files with 5 additions and 5 deletions

8
.gitignore vendored
View File

@ -65,7 +65,7 @@ data/test_case/*
!data/test_case/.gitkeep
data/ssl/*
!data/ssl/.gitkeep
data/static/upload/*
!data/static/upload/.gitkeep
data/static/avatar/*
!data/static/avatar/default.png
data/public/upload/*
!data/public/upload/.gitkeep
data/public/avatar/*
!data/public/avatar/default.png

View File

@ -109,7 +109,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.8/howto/static-files/
STATIC_URL = '/storage/'
STATIC_URL = '/public/'
AUTH_USER_MODEL = 'account.User'