Chris Dodge
|
b0e2c82ad3
|
actually.. return a 400 rather than a 404 because the request is malformed. Also add unit test.
|
2013-03-26 20:02:29 -04:00 |
|
Chris Dodge
|
a44ecdfcd6
|
if we parse an invalid location in the content store middleware, then return a 404, not a 500
|
2013-03-26 16:45:47 -04:00 |
|
Calen Pennington
|
cfae1cdf62
|
Pep8 autofixes
|
2013-02-06 11:13:50 -05:00 |
|
Chris Dodge
|
3fa1fe0cd6
|
change from throwing a Http404 exception, which I believe will try to render a static 404.html template - and ironically triggers a 500 server error. Just create a HttpResponse and set the status_code to 404.
|
2013-02-05 16:26:07 -05:00 |
|
Chris Dodge
|
84bc81f7eb
|
refactor StaticContent id scheme to be the same as moduledata. Also expose a new 'get all content for course' which will be needed to support a asset management page.
|
2012-10-03 09:07:09 -04:00 |
|
Chris Dodge
|
1ee7646cfc
|
per feedback, use reverse() when generating callback urls. Also generate thumbnails when ingesting static images. We'll need these handy for the CMS UI.
|
2012-09-28 10:20:57 -04:00 |
|
Chris Dodge
|
adad3c550b
|
Support asset library references in CapaModule. Also some code refactoring/cleanup. Preparing for review and submit
|
2012-09-27 12:31:45 -04:00 |
|
Chris Dodge
|
39e64c1e56
|
work in progress. Need to commit before rebasing to master
|
2012-09-27 10:24:53 -04:00 |
|
Chris Dodge
|
7bf7eab616
|
support client-side caching through 'Last-Modified' response headers
|
2012-09-27 10:24:53 -04:00 |
|
Chris Dodge
|
7512b78eb2
|
work-in-flight for uploading/serving of static content for courses
|
2012-09-27 10:24:53 -04:00 |
|