You can define them in a model, mind they are executed alphbetically, or in a module and import them were needed.
Massimo On Oct 11, 8:00 pm, pedro <[EMAIL PROTECTED]> wrote: > I use this thread to make another question though is not directly > related. > > Where should i define my validator classes? > It would be nice to have them acessible both in the database > definition and in form falidation, just like the validators that come > with web2py > > On 11 Okt, 23:41, "Phyo Arkar" <[EMAIL PROTECTED]> wrote: > > > 1)def a function with a parameter > > 2)def __functioname__ > > > On Sat, Oct 11, 2008 at 9:35 PM, pedro <[EMAIL PROTECTED]> wrote: > > > > That is the question. I guess placing them in an external module would > > > do it, but it should be a way to define them in a controller and > > > prevent them for being exposed... how does one achieve that? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---