On Thursday 12 Jan 2006 3:12 am, Adrian Holovaty wrote: > > With models, is it common practice to place all models in a > > single file or multiple files? (I have a huge model) > > It's most common to put all your models in a single file.
i have found it more convenient to have separate apps for different parts of a website. Reason being that it makes the handling of the database easier. For example, the first thing in a website would be the general layout and the main pages which are not likely to change. I put this in one app. The next part may change frequently while finetuning. So this means resetting the database. If this part is in a separate app, sqlreset will not affect the website app. So, as and when any part of the webiste is 'settled' i put it in a separate app and forget about it. Otherwise manually editing the sql change statements every time a couple of models are changed becomes a real pita -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!