Application Icon upload (#341)

* core: add initial implementation for File Upload

* root: add volumes to docker-compose for file upload

* helm: add pvc for uploads

* core: allow meta_icon to be overwritten with static files
This commit is contained in:
Jens L
2020-11-23 20:50:19 +01:00
committed by GitHub
parent 91e9f176a5
commit 665839133f
18 changed files with 139 additions and 21 deletions

View File

@ -48,6 +48,7 @@ LOGGER = structlog.get_logger()
# 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"
MEDIA_ROOT = BASE_DIR + "/media"
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
@ -338,6 +339,7 @@ if not DEBUG and _ERROR_REPORTING:
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = "/static/"
MEDIA_URL = "/"
structlog.configure_once(