core: add static root
This commit is contained in:
parent
57f01952bd
commit
43fe9e062d
|
@ -189,3 +189,4 @@ pyvenv.cfg
|
|||
pip-selfcheck.json
|
||||
|
||||
# End of https://www.gitignore.io/api/python,django
|
||||
/static/*
|
||||
|
|
|
@ -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/
|
||||
|
|
Reference in New Issue