diff --git a/LCU/Maintenance/DBInterface/django_postgresql/settings.py b/LCU/Maintenance/DBInterface/django_postgresql/settings.py index b06a778293120772ee9768e4342b51f5c9f872ed..e4d7ba2182ed068d41ea062e49503e1bf10d75f0 100644 --- a/LCU/Maintenance/DBInterface/django_postgresql/settings.py +++ b/LCU/Maintenance/DBInterface/django_postgresql/settings.py @@ -192,6 +192,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATIC_URL = '/static/' +STATIC_ROOT = os.environ.get('MDB_STATIC_ROOT', os.getcwd()) + MB_CONST = 1024 ** 3 DATA_UPLOAD_MAX_MEMORY_SIZE = 500 * MB_CONST