"Ben Sizer" <[EMAIL PROTECTED]> writes:

>  - I was under the impression that "raise
> cherrypy.HTTPRedirect('index')" was superceded by
> "turbogears.redirect('index')" from 0.9 onwards, though I am not too
> familiar with 0.9 and there may be subtle differences I don't know
> about?

There's one: turbogears.redirect(url) is the equivalent of
cherrypy.HTTPRedirect(turbogears.url(url)), i.e., it also saves you from
typing the call to 'turbogears.url'.

I prefer using turbogears.redirect and avoiding having to import cherrypy in
every module...


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to