[Grok-dev] Template directories

Tim Terlegård tim.terlegard at valentinewebsystems.se
Wed Jun 25 09:14:00 EDT 2008


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'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...   :)

/Tim


More information about the Grok-dev mailing list