#1942: New renderers do not support dotted notation
------------------------+---------------------------------------------------
Reporter: mramm | Owner: faide
Type: defect | Status: assigned
Priority: highest | Milestone: 2.0b1
Component: TurboGears | Version: trunk
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by mramm):
I think a global configuration option is good, an I agree that it should
be implemented first.
I /think/ mako's template loader handles both by default, so that would be
another option I guess.
The big question is which should be the default:
{{{
@expose('index')
def something(self, **kw)
pass
or
@expose('myproject.templates.index')
def something(self, **kw)
pass
}}}
I strongly support the first, and support using search paths to do lookup,
because we can then configure Rum, or Tortuga or whatever to use the same
master template just by adding it to the top of both search-paths. If
we're going to start doing site-composition we need a simple way for
people to share site-wide styling in a somewhat framework agnostic way,
and this seems like one of the simplest solutions.
--
Ticket URL: <http://trac.turbogears.org/ticket/1942#comment:7>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---