Fix uuid attribute of DAL
It's a bound method: requires instance as first parameter
This commit is contained in:
1 parent
2277f65f66
commit
ff43ab7a20
1 file changed
+1
-1
+1
-1
@@ -117,7 +117,7 @@ from gluon import sqlhtml
|
||||
class DAL(pyDAL):
|
||||
serializers = w2p_serializers
|
||||
validators_method = _default_validators
|
||||
uuid = web2py_uuid
|
||||
uuid = lambda x: web2py_uuid()
|
||||
representers = {
|
||||
'rows_render': sqlhtml.represent,
|
||||
'rows_xml': sqlhtml.SQLTABLE
|
||||
|
||||
Reference in new issue
Block a user