#1963: Pages of quickstarted TG 1.1 app do not validate
-------------------------+--------------------------------------------------
Reporter: chrisz | Owner: Chris Arndt
Type: defect | Status: assigned
Priority: high | Milestone: 1.1
Component: TurboGears | Version: 1.1 HEAD
Severity: major | Resolution:
Keywords: needs tests |
-------------------------+--------------------------------------------------
Comment (by Chris Arndt):
Two things slightly bothering me about this patch:
1. we're changing the signature of `view.render` and `expose` (both
public functions) slightly, by shuffling around the position of the
arguments. But since `mapping` and `as_format` were always documented as
keyword arguments, I think that's ok.
2. Template engines have to handle options passed to their `render`
method differently than those passed to `__init__`. a) Single arg vs.
kwargs (not a problem, I think) a) Option names passed to `render` will
normally not have the plugin-name as a prefix.
--
Ticket URL: <http://trac.turbogears.org/ticket/1963#comment:31>
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
-~----------~----~----~----~------~----~------~--~---