Commits

Torsten Irländer committed 412fc90

Changed iteration over fields in serialize method.

  • Participants
  • Parent commits 67f147b

Comments (0)

Files changed (1)

File formbar/form.py

         serialized = {}
         if not data:
             return serialized
-        for name, field in self._config.get_fields().iteritems():
+        for name, field in self.fields.iteritems():
+            ftype = field.get_type()
             try:
                 value = data.get(name)
                 if value is None: