Re: [web2py] Basic models question

2010-12-06 Thread Richard Vézina
The model defined in model1.py or in db.py will be available in any controllers... I not sure but I think the only reason to devide your model in differents model file is for keep the file clean and understandable... For the controllers it is differents if you define a function in a particular

[web2py] Basic models question

2010-12-06 Thread Lorin Rivers
If a model is defined in db.py, everything in that application has access to it, correct? The only reason to define a model in a different file is if you only need to access that particular model in a similarly named controller, correct? Thanks! -- Lorin Rivers Mosasaur: Killer Technical Marke