Commit Graph

11 Commits

Author SHA1 Message Date
Calen Pennington
8991cdd3b5 Stop raising BaseExceptions 2012-12-28 14:51:50 -05:00
Chris Dodge
2aceb2e44a make sure when defining the course namespace in the replace url methods that we explicitly state the parameter name. There are some optional parameters and if we don't define the parameter name, it'll end put being interpreted as a different parameter 2012-11-29 15:56:03 -05:00
Chris Dodge
f4822c23de lots of tweeks to better support importing of existing courseware 2012-10-30 11:52:31 -04:00
ichuang
6e3eff304e {} -> {0} etc in .format statements 2012-08-16 16:22:26 -04:00
Victor Shnayder
add050593a address comment on #392 2012-08-13 14:23:41 -04:00
Victor Shnayder
622eebc473 Don't error on missing static files
* Just log a warning and return a dummy url
* May want smarter checking later
  (e.g. would be nice to tell staff what files are missing.)
2012-08-12 16:21:38 -04:00
Calen Pennington
4f27dd436e When in debug mode, check the staticfiles.finders before mangling urls 2012-08-10 10:13:18 -04:00
Calen Pennington
fefda5db62 Only munge /static/ urls in module html to point to course static files if they don't exist in the global static locations 2012-07-12 16:09:34 -04:00
ichuang
4f830eb316 fix static_replace use of re.subs flags to be python2.6 compatible 2012-07-10 22:32:46 -04:00
Calen Pennington
5406b9bb40 Make /static/ urls work in the courseware 2012-07-10 12:54:47 -04:00
Calen Pennington
4cb285f1f9 Switch the cms over to using django-pipeline 2012-06-21 10:59:46 -04:00