>
> Since I do not want to add to each insert the appending
> of the function - I simply added it after creating the table
> in the model, and now it works well since it is being executed
> together with the model code. 
>
> Are there good reasons not to do it?
>
> Since I use web2py mainly as a back-end to JSON-RPC calls and gateway to 
> the database,
> my application is basically built out of a huge default controller and a 
> huge model file. I don't
> think I would know where to put it otherwise.
>

Sure, putting in the model file where you create the table makes sense.

Anthony 

Reply via email to