jhernandez wrote:
"It happens that old Java programmers make one module per class when they start using Python. That's more or less equivalent of never using more than 8.3 characters in filenames in modern operating systems, or to make a detour on your way to work because there used to be a fence blocking the shortest way a long time ago." - Magnus Lycka
Hehe Magnus, I hate Java and am barely able to function when using it. I knew somebody was going to say that. :)
My problem is, I'm exploring Django to port a PHP web app I developed ages ago, and one of two models may be a bit complex. Instead of writing a module to isolate the complexity and use it from a single model file thus keeping all the app classes together, I would prefer to keep all code relevant to a single object together by using a different model file.
Not a big deal, just exploring the framework before deciding what goes where.
L.

