core: add static root

This commit is contained in:
Jens Langhammer 2018-12-09 22:12:41 +01:00
parent 57f01952bd
commit 43fe9e062d
No known key found for this signature in database
GPG key ID: BEBC05297D92821B
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -189,3 +189,4 @@ pyvenv.cfg
pip-selfcheck.json
# End of https://www.gitignore.io/api/python,django
/static/*

View file

@ -22,6 +22,7 @@ VERSION = __version__
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
STATIC_ROOT = BASE_DIR + '/static'
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/