Commit 433864c1 authored by Tomáš Peterka's avatar Tomáš Peterka

[Formulator] Field keeps request if given as an argument (for passing test request)

parent 199e7247
......@@ -111,7 +111,8 @@ class Field:
# add 'here' if not in kw
if not kw.has_key('here'):
kw['here'] = self.aq_parent
kw['request'] = self.REQUEST
if 'request' not in kw:
kw['request'] = self.REQUEST
value = tales_expr.__of__(self)(
field=self,
form=self.aq_parent, **kw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment