Commit 71799b60 authored by Serge S. Koval's avatar Serge S. Koval

Fixed Python 3.3 compatibility when submitting inline model

parent 652cfe3d
......@@ -76,7 +76,7 @@ class InlineFieldList(FieldList):
_fake = type(str('_fake'), (object, ), {})
output = []
for field, data in itertools.izip(self.entries, candidates):
for field, data in zip(self.entries, candidates):
if not self.should_delete(field):
fake_obj = _fake()
fake_obj.data = data
......
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