Skip to content

Commit

Permalink
Fixed rendering of sequence item "default values"
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-rakov committed Mar 24, 2012
1 parent cde4915 commit 3f70efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deform/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def prototype(self, field):
# automated testing; finding last node)
item_field = field.children[0].clone()
proto = field.renderer(self.item_template, field=item_field,
cstruct=null, parent=field)
cstruct=item_field.schema.serialize(null), parent=field)
if isinstance(proto, string_types):
proto = proto.encode('utf-8')
proto = url_quote(proto)
Expand Down

0 comments on commit 3f70efb

Please sign in to comment.