[Grok-dev] Template directories

Peter Bengtsson peter at fry-it.com
Wed Jun 25 09:35:33 EDT 2008


2008/6/25 Tim Terlegård <tim.terlegard at valentinewebsystems.se>:
> On Jun 25, 2008, at 2:48 PM, Peter Bengtsson wrote:
>
>> I like the idea of putting ALL templates for all models in a hard
>> directory called "templates" a LOT.
>> But why would master.pt not belong to templates/app/ ?? It's not a
>> view that is part of the project, it's part of the app.
>
> Yeah, master.pt is part of the whole grok app, but it's not restricted to
> the
> app.py module which can contain anything. All views in all modules
> should be able to use it, it's not related more to app.py than to any other
> module.
>
I just think master.pt belongs to the same place where index.pt for
the application.

>
>> I'm working on a tiny project that already has app_templates,
>> foo_templates and bar_templates.
>> The most annoying thing is tab completion, since I start typing app
>> followed by TAB and then have to supply the rest every time.
>
> Exactly. This has been annoying me too. <tab><tab><tab>... why doesn't
> the damn thing auto-complete...   :)
>
Good that I'm not the only one being fustratest by this seemingly
minor problem.


-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Grok-dev mailing list