crud methods have FORM **attributes, thanks Daniel
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.0.9 (2012-09-24 12:39:22) stable
|
||||
Version 2.0.9 (2012-09-24 12:43:18) stable
|
||||
|
||||
@@ -3343,6 +3343,7 @@ class Crud(object):
|
||||
message=DEFAULT,
|
||||
deletable=DEFAULT,
|
||||
formname=DEFAULT,
|
||||
**attributes
|
||||
):
|
||||
"""
|
||||
method: Crud.update(table, record, [next=DEFAULT
|
||||
@@ -3395,7 +3396,8 @@ class Crud(object):
|
||||
deletable=deletable,
|
||||
upload=self.settings.download_url,
|
||||
formstyle=self.settings.formstyle,
|
||||
separator=self.settings.label_separator
|
||||
separator=self.settings.label_separator,
|
||||
**attributes
|
||||
)
|
||||
self.accepted = False
|
||||
self.deleted = False
|
||||
@@ -3453,6 +3455,7 @@ class Crud(object):
|
||||
log=DEFAULT,
|
||||
message=DEFAULT,
|
||||
formname=DEFAULT,
|
||||
**attributes
|
||||
):
|
||||
"""
|
||||
method: Crud.create(table, [next=DEFAULT [, onvalidation=DEFAULT
|
||||
@@ -3479,6 +3482,7 @@ class Crud(object):
|
||||
message=message,
|
||||
deletable=False,
|
||||
formname=formname,
|
||||
**attributes
|
||||
)
|
||||
|
||||
def read(self, table, record):
|
||||
|
||||
Reference in New Issue
Block a user