Commits

Gael Pasgrimaud committed 2d9951e

required by api

  • Participants
  • Parent commits 6e4bf1e

Comments (0)

Files changed (1)

formalchemy/ext/zope/__init__.py

         self.readonly = False
         self.focus = True
         self._errors = []
+        self._bound_pk = None
+        self.data = None
         self.validator = None
         self.iface = model
         focus = True
             try:
                 self.data = SimpleMultiDict(data)
             except:
-                raise Exception('unsupported data object %s.  currently only dicts and Paste multidicts are supported' % self.data)
+                raise Exception('unsupported data object %s. currently only dicts and Paste multidicts are supported' % self.data)
 
 class Grid(BaseGrid, FieldSet):
     """Grid aware of zope schema. See :class:`formalchemy.tables.Grid` for full api."""