gasolin wrote: > Damjan wrote: > > > > BTW. it contains templates, used with template plugins, it's just > > normal to call it "templates/" > > > Let's List all Proposals and see what's it look like: > > 1. @expose(template="proj.template.mypage") > > 2. @expose(template="proj.view.mypage") > > 3. @expose(view="proj.view.mypage") > > 4. @view(template="proj.template.mypage") > > > I like 2nd most. It's a good convention that > "you exposed a method by using template "mypage" in your project's > (proj) view folder." >
5. @expose(view="template.mypage") giving that there is a views package like that: views |_ templates/ |_ json.py |_ ... and the view parameter is automatically linked to the views subpackage to save repetitive typing. Ciao Michele --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

