edx/edx-platform — pull request #891 by cpennington (2013-09-09 15:16:19+00:00)
Title: Add mitxmako.middleware to fix workers

If mitxmako.middleware has ever been imported, then render_to_string works
correctly (which is why we didn't see this in the rest of edx-platform).
However, if it hasn't (like in a celery worker), then using
mitxmako.middleware errors out.

[LMS-1085]