What does this mean:
form=crud.create(db.student,next=URL(r=request))
File "/opt/cnrsa/gluon/tools.py", line 2101, in create
deletable=False,
File "/opt/cnrsa/gluon/tools.py", line 2048, in update
keepvalues=self.settings.keepvalues):
File "/opt/cnrsa/gluon/sqlhtml.py", line 865, in accepts
fields[fieldname] = int(fields[fieldname])
ValueError: invalid literal for int() with base 10: ''
I get it with this:
SQLField("sid",db.auth_user, default=user_id),
but not with this:
SQLField("sid",default=user_id),
-wes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---