I'm still in the Java mindset so I haven't figured out Python packages
yet.  My controllers.py file is a little big for my tastes and it takes
a while to scroll around.  So I want to split it up.

To make it simpler to describe, let's say that I want to split it into
three chunks, the main controller part, constants, and validation.
However, the validation requires the constants, etc.  I guess it would
be safe to say that almost all the chunks depend on each other.

I read that you can just split it up and import them from controllers
but when I tried that it complained that FancyValidator (which is
needed in validation) is not defined.  It just got more and more
complicated.

Can someone describe the best way around this?


Thanks!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to