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
blog: http://www.BlueSkyOnMars.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to