Permalink
Browse files

Fixed rendering of sequence item "default values"

  • Loading branch information...
1 parent cde4915 commit 3f70efb9b24f09a2890fe36f3c672d052eb0f67b @aleksandr-rakov committed Mar 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 deform/widget.py
View
@@ -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)

0 comments on commit 3f70efb

Please sign in to comment.