From 33a3d5dbb7c30fc44c305a3b4370bfcb5da706cb Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Fri, 8 Feb 2013 10:49:43 -0500 Subject: [PATCH] Make it so that cms doesn't try to run collectstatic on course content --- cms/envs/common.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cms/envs/common.py b/cms/envs/common.py index ef7a4f43fa..30aac6ea01 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -165,13 +165,6 @@ STATICFILES_DIRS = [ # This is how you would use the textbook images locally # ("book", ENV_ROOT / "book_images") ] -if os.path.isdir(GITHUB_REPO_ROOT): - STATICFILES_DIRS += [ - # TODO (cpennington): When courses aren't loaded from github, remove this - (course_dir, GITHUB_REPO_ROOT / course_dir) - for course_dir in os.listdir(GITHUB_REPO_ROOT) - if os.path.isdir(GITHUB_REPO_ROOT / course_dir) - ] # Locale/Internationalization TIME_ZONE = 'America/New_York' # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name