I did ''tg-admin quickstart -t tgbig myproject'' and noticed it now has
a controllers directory and root.py file.

Maybe I'm slow today but I don't see how to use this to break up all
controllers into seperate files.

Can I just create multiple classes in separate files that //all
subclass RootController// and then append to __init__.py //more
imports//?  *What* imports?

perhaps add something like this to __init__.py ??


from myproject.controllers.anotherfile1 import
AnotherRootControllerSubClass1
from myproject.controllers.anotherfile2 import
AnotherRootControllerSubClass2
from myproject.controllers.anotherfile3 import
AnotherRootControllerSubClass3
...etc. ??

Thanks

Chris


--~--~---------~--~----~------------~-------~--~----~
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