http://groups.google.com/group/turbogears/tree/browse_frm/thread/f53e297c3c3b9a0a/de247b80792170e1?rnum=21&q=jorge.vargas&_done=%2Fgroup%2Fturbogears%2Fbrowse_frm%2Fthread%2Ff53e297c3c3b9a0a%2F50a0be2182451647%3Fq%3Djorge.vargas%26rnum%3D33%26#doc_50a0be2182451647
it seems people forgot about that thread
On 3/22/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
Nothing like changing your mind midstream. After trying it out with a
controllers package, I decided that I really do like the slimmer feel
of just having a controllers.py file for the still somewhat common
case of a very small app.
So, there is now a new template that can be used for "big" projects
where you want a controllers package. To use it, type:
tg-admin quickstart -t tgbig
If you want to upgrade an existing project to the big template:
tg-admin update -t tgbig
Running this command will create the controllers package and move it
over to controllers/root.py.
This change was committed in [996]. As an added bonus, I put in a
"release.py" file that gives you a place to put your project's version
information.
Kevin
On 3/22/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> FYI, I'm going to make the controllers change to quickstart now.
> Here's what I'm thinking:
>
> yourpackage/
> controllers/
> __init__.py <--- imports your Root
> root.py <-- contains your Root
>
> I'm not going to break out model.py right now.
>
> Kevin
>
--
Kevin Dangoor
Author of the Zesty News RSS newsreader
email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

