From 43fe9e062df0a771514ee955508c3e74fb3549ab Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 9 Dec 2018 22:12:41 +0100 Subject: [PATCH] core: add static root --- .gitignore | 1 + passbook/core/settings.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index d14fbfc75..8289a028d 100644 --- a/.gitignore +++ b/.gitignore @@ -189,3 +189,4 @@ pyvenv.cfg pip-selfcheck.json # End of https://www.gitignore.io/api/python,django +/static/* diff --git a/passbook/core/settings.py b/passbook/core/settings.py index fba3054cf..8526e8b7e 100644 --- a/passbook/core/settings.py +++ b/passbook/core/settings.py @@ -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/