#2449: Template Namespace and `url`
------------------------+---------------------------------------------------
 Reporter:  rpetrello   |       Owner:                  
     Type:  defect      |      Status:  new             
 Priority:  normal      |   Milestone:  __unclassified__
Component:  TurboGears  |     Version:  2.1a3           
 Severity:  minor       |    Keywords:                  
------------------------+---------------------------------------------------
 I've just noticed this in TG2.1a3, verified in a recent quickstarted
 project:

 It seems that any @exposed() controller that uses the key `url` in its
 namespace, e.g.:

 {{{
     @expose('genshibug.templates.index')
     def index(self):
         """Handle the front-page."""
         return dict(page='index', url='http://google.com')
 }}}

 ...the value for `url` is always overwritten w/ <routes.util.URLGenerator
 object at 0x10422c8d0>.  Is this expected behavior?  Maybe some form of
 misconfiguration?

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2449>
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

Reply via email to