Em Segunda 01 Maio 2006 16:57, Claudio Martínez escreveu:
> I was thinking that it would be great to have a controllers directory
> like:
>
> controllers/__init__.py (index(), default(), login())
> controllers/mycontroller.py
> controllers/myothercontroller/__init__.py (index(), default(), etc)
> controllers/myothercontroller/foo.py (foo/bar(), foo/index(),
> foo/default(), etc)
>
> Adding new controllers by just adding files in there would be very
> nice. For example, a controller file that got pretty complex can be
> replaced by a directory with many modules.
>
> Doesn't look like something very complex to implement. Maybe someone
> already did.

It is dowable as you said...  What are the problems you're having with it?

Everything you can do with Python you can use in TG.

To start with this structure -- the first level -- use the big template. 

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


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