Greetings I'm trying to log the events when a create a table with crud
but i always get the same error
my code is
in the model
crud.settings.logger=auth
in the controller i try already
@auth.requires_login()
def customcreate():
form = crud.create('databasedp', log='Record %(id)s created')
try to without log and log=crud.settings.create_log
and i always get in the db.auth_event this result
"Record None updated"
but I'm not updating I'm creating a new record some idea what is wrong
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---