I found this change to be very helpful, when doing multi-table inserts on
single submit:
--- sql.py.old 2009-05-23 14:28:15.286720712 +0400
+++ sql.py 2009-05-23 14:27:09.450720875 +0400
@@ -1372,7 +1372,7 @@
fs.append(fieldname)
vs.append(sql_represent(field.default, ft, fd))
elif field.required is True:
- raise SyntaxError, 'SQLTable: missing required field'
+ raise SyntaxError, 'SQLTable: missing required
field: %s'%field
sql_f = ', '.join(fs)
sql_v = ', '.join(vs)
sql_t = self._tablename
--
Sincerely yours
Alexey Nezhdanov
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---