luckythetourist/staticgenerator — pull request #6 by mdippery (2011-11-29 23:14:37+00:00)
Title: Fix crash when publishing static pages

In order to publish static pages, **staticgenerator** makes a fake request (using its `DummyHandler`) to the generated page. It doesn't provide a `REMOTE_ADDR` or a `request.REQUEST` field. This can cause middleware that is expecting such fields to crash, which makes static page generation fail. These fixes solve that problem.