common_web.py: oops, add .fields to the other FakeRequest

This commit is contained in:
Brian Warner 2009-02-24 18:04:59 -07:00
parent 376eab0c04
commit 6f981e4eab

View File

@ -46,6 +46,7 @@ class WebRenderingMixin:
# Deferred, this will throw an exception. (note that
# page.renderString is the Deferred-returning equivalent)
req = FakeRequest(**kwargs)
req.fields = None
ctx = self.make_context(req)
return page.renderSynchronously(ctx)