Re: [web2py] Some ideas for automatic field values

2016-07-30 Thread Carlos Cesar Caballero
Man, how could I miss that?, right in the doc... I will like to use a calculated field for that, but update_naive will work, many thanks. El sábado, 30 de julio de 2016, 3:17:16 (UTC-4), José L. escribió: > > Have you tried update_naive when using the after_update trigger? It should > avoid the

Re: [web2py] Some ideas for automatic field values

2016-07-30 Thread José Luis Redrejo
Have you tried update_naive when using the after_update trigger? It should avoid the infinite loop El 30/7/2016 8:06, "Carlos Cesar Caballero" escribió: > Hi everyone, I am almost finishing a plugin for building automatic slug > fields, but I want to build editable slugs. > > I can right now whe

[web2py] Some ideas for automatic field values

2016-07-29 Thread Carlos Cesar Caballero
Hi everyone, I am almost finishing a plugin for building automatic slug fields, but I want to build editable slugs. I can right now when the user creates a new record in the database, fill a field with the slug, but I need the ability to update it too. If the field is created for the very firs