They are currently in models, but i don't think models are the best place. Is it possible to make one extra folder names "helpers" and put them there, and how to include them?
I moved all my create_table definitions to 0.py model, is this preffered way, or they should be in associated models? On Thursday, May 16, 2013 3:40:06 PM UTC+2, Anthony wrote: > > You could put them in a model file, which will make them available > everywhere on every request, or you can put them in a module and import > them when needed. > > Anthony > > On Thursday, May 16, 2013 9:13:05 AM UTC-4, Domagoj Kovač wrote: >> >> Hi, >> i have bunch of functions that i would like to extract to helper classes. >> >> Where should i put this helpers and how to include them? >> > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

