2009/9/9 Piyawan T. <[email protected]>:
>
> To use webpy's template for your application.
> Do you keep all templates and layout files in one directory ?
> --For example:--
> templates/
>
> Or do you make many directories for those files ?
> --For example:--
> templates/users/
> templates/articles/
> layouts/
>
> Which type do you use ?

I generally keep everything in templates/. You can have multiple
levels if you wish.
templates/users and templates/articles is fine.
templates/users/foo.html will be accessible as render.users.foo(...).

Anand

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to