diff options
author | Benjamin Copeland <ben.copeland@linaro.org> | 2018-05-04 09:09:16 +0100 |
---|---|---|
committer | Benjamin Copeland <ben.copeland@linaro.org> | 2018-05-09 16:06:31 +0000 |
commit | b5a105b5b43f3f72b7758553bd203b6ad99c0328 (patch) | |
tree | 61d1a13910b8e859063b3ec608559167c2be906f | |
parent | 3d106a7f07680584b647433ec94664658014de12 (diff) |
Settings: Remove legacy folder creation
We don't need to create these folders anymore using S3, lets get rid of
it.
Change-Id: I246ff38c0ac23724a59d235da963f5b47f2e3ad9
Reviewed-on: https://review.linaro.org/25143
Reviewed-by: Kelley Spoon <kelley.spoon@linaro.org>
Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r-- | settings_production.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/settings_production.py b/settings_production.py index 5350873..f37bb5f 100644 --- a/settings_production.py +++ b/settings_production.py @@ -15,15 +15,9 @@ DATABASES = { } ALLOWED_HOSTS_FILE = os.path.join(DEPLOYMENT_DIR, "allowed_hosts.txt") -SERVED_PATHS = [os.path.join(DEPLOYMENT_DIR, 'www')] -UPLOAD_PATH = os.path.join(DEPLOYMENT_DIR, 'uploads') IP2LOCATION_FILE = os.path.join( DEPLOYMENT_DIR, 'IP-COUNTRY-REGION-CITY-ISP.BIN') -for p in SERVED_PATHS + [UPLOAD_PATH]: - if not os.path.exists(p): - os.mkdir(p) - # allow local override of default page styling if os.path.exists(os.path.join(DEPLOYMENT_DIR, 'header_override.html')): BASE_PAGE = 'header_override.html' |