On Thu, 3 May 2007 at 18:55, [EMAIL PROTECTED] wrote: > In TurboGears, where should Python code that is not controller, model, > or kid code be placed? Perhaps "anywhere" as long as you include it > in the path...but where is the recommended place (if there is one) and > what is the common convention?
Where ever makes sense for your application structure. I put things that are generic (not ap specific) in libraries installed in my site-packages, just like any other python library, and stuff that is ap specific in files or subdirectories of my project (and thus accessed via 'import project.package'). I also use the workingenv package to keep my project stuff isolated from the system stuff, but that doesn't change my organization within my project. --David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

