From 610c824c94d44fc7613efb3c7b81a89657585a92 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Mon, 5 Feb 2018 17:31:30 +0000 Subject: [PATCH] Bug 1436598 - Removed unused Django media configuration Since we don't allow user uploads. --- .gitignore | 1 - treeherder/config/settings.py | 3 --- treeherder/media/.gitkeep | 0 3 files changed, 4 deletions(-) delete mode 100644 treeherder/media/.gitkeep diff --git a/.gitignore b/.gitignore index 54a656542..fc758c639 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,6 @@ npm-error.log # Treeherder-specific dist/ docs/_build/ -treeherder/media/ treeherder/static/ ui/js/config/local.conf.js # frontend test coverage diff --git a/treeherder/config/settings.py b/treeherder/config/settings.py index cac427c4f..7e2869086 100644 --- a/treeherder/config/settings.py +++ b/treeherder/config/settings.py @@ -40,9 +40,6 @@ WHITENOISE_ROOT = path("..", "dist") STATIC_ROOT = path("static") STATIC_URL = "/static/" -MEDIA_ROOT = path("media") -MEDIA_URL = "/media/" - # Default minimum regression threshold for perfherder is 2% (otherwise # e.g. the build size tests will alert on every commit) PERFHERDER_REGRESSION_THRESHOLD = 2 diff --git a/treeherder/media/.gitkeep b/treeherder/media/.gitkeep deleted file mode 100644 index e69de29bb..000000000