Skip to content
Snippets Groups Projects
Commit 894036c4 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-45: setting static root

parent f4733f8b
No related branches found
No related tags found
1 merge request!89Monitoring maintenance Epic branch merge
...@@ -192,6 +192,8 @@ USE_TZ = True ...@@ -192,6 +192,8 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.0/howto/static-files/ # https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = os.environ.get('MDB_STATIC_ROOT', os.getcwd())
MB_CONST = 1024 ** 3 MB_CONST = 1024 ** 3
DATA_UPLOAD_MAX_MEMORY_SIZE = 500 * MB_CONST DATA_UPLOAD_MAX_MEMORY_SIZE = 500 * MB_CONST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment