[web2py] Re: modified_by and modified_on not updating

2012-09-12 Thread Joel Carrier
I was calling auth.define_tables() after defining auth_user manually. My mistake. On Saturday, September 8, 2012 1:56:37 PM UTC-4, Joel Carrier wrote: > > Hmmm... i never call auth.define_tables I guess because I wanted to > customize the auth_user table. > And yet the following ta

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
Good eye Niphlod! On Saturday, September 8, 2012 1:59:11 PM UTC-4, Joel Carrier wrote: > > > Ha, as soon as I pasted this snippet I realized that and was looking to > modify. > When developing I was working off the trunk and having this problem. > For some reason I thought may

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
ate_record but let me give it a try. >> >> On Saturday, 8 September 2012 12:39:20 UTC-5, Joel Carrier wrote: >>> >>> At first I thought it was related to running on a windows machine using >>> the development server. >>> Then I deployed to a linux machine

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
+'xxx')) > >>> auth.enable_record_versioning(db) > >>> print db.thing(2).modified_on > 2012-09-08 09:22:28 > >>> db.thing(2).update_record(name='test4') > >>> print db.thing(2).modified_on > 2012-09-08 12:49:01 > > Massimo >

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
uth_user. registration_id) db.auth_user.email.requires = ( IS_EMAIL(error_message=auth.messages.invalid_email), IS_NOT_IN_DB(db, db.auth_user.email), IS_UPPER() ) and in models directory i also have a z.py auth.enable_record_versioning(db) Do I have to update my entities using SQ

[web2py] modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
I want to maintain an audit history of all my objects. So near the beginning of my model definition I have db._common_fields.append(auth.signature) and at the very end I have auth.enable_record_versioning(db) The problem I am having is that when I pull up all the records representing the hist

[web2py] Re: web2py on appfog

2012-07-30 Thread Joel Carrier
L > 6.2, 3.1GHz quad-core Xeon, 8GB RAM, Apache with mod_wsgi) completed 3061 > requests with a mean 0.490 seconds per request. Beefier than what AppFog > gave me? Sure, but not enough to explain handling 22x the requests, with > 1/22nd the response time. > > * The AppFog mean request fulfillment numbers varied by as much as two > seconds over the several times I ran the tests. That sort of > unpredictability worries me. > > > > On Thursday, July 26, 2012 9:50:01 PM UTC-4, Joel Carrier wrote: >> >> Has anyone tried running web2py on appfog ( www.appfog.com ) and cares >> to comment on their experience? > > --

[web2py] web2py on appfog

2012-07-26 Thread Joel Carrier
Has anyone tried running web2py on appfog ( www.appfog.com ) and cares to comment on their experience? --

[web2py] Re: Audit for all tables, independent of CRUD; and transaction rollback.

2012-07-03 Thread Joel Carrier
Hi Nick Name, Did you ever find a solution that met all your requirements? What you've described is exactly what I am facing now. Joel On Friday, May 6, 2011 6:18:49 PM UTC-4, nick name wrote: > > My use of web2py requires an audit trail for (essentially) all database > tables; The preferable