On Mar 22, 2011, at 1:31 PM, Pystar wrote: > Are models loaded in alphabetical order? or alphanumerical order?
They're sorted by Python's built-in function sorted, in its default mode, which I believe in this case is eventually using str.__cmp__. > > On Mar 22, 1:45 pm, DenesL <[email protected]> wrote: >> They usually go in a model file, just remember that models are loaded >> in alphabetical order. >> >> On Mar 22, 4:21 am, Ashwin Purohit <[email protected]> wrote: >> >> >> >> >> >> >> >>> Which file do I put custom validators in? The book >>> (http://web2py.com/book/default/chapter/07#Custom-Validators) says nothing >>> about standard placement. >> >>> Thanks, >>> Ashwin

