thanks, but why TG1.0 cann't do it ? On 8月19日, 下午1时22分, Michael Pedersen <[email protected]> wrote: > Yes. If nothing else, you make a new middleware that wraps everything else. > Your middleware becomes the final thing that gets called before returning > the response, giving you the option of doing ... well, anything, really. > > Look under yourapp.config.middleware, and you'll see the method that creates > your TG2 application. Simply wrap the app object with your own custom > middleware, and you're catching anything you wish. > > 2011/8/19 cheetah <[email protected]> > > > > > > > can you answer this if i development on TG2 ? :) > > > On 8月19日, 上午11时55分, Michael Pedersen <[email protected]> wrote: > > > I'm not able to answer this, as I've never used TG1. > > > > I do have a question for you, though: Is this new development? If so, why > > > use TG1? We recommend (heavily) that all new development happen on TG2. > > > > 2011/8/18 cheetah <[email protected]> > > > > > it's "except" > > > > > On 8月19日, 上午10时20分, cheetah <[email protected]> wrote: > > > > > TurboGears-1.0.2.2-py2.5.egg > > > > > cherrypy-2.2.1-py2.5.egg > > > > > > I want catch all expert of cherrypy when it raised in server, control > > > > > its redirection. > > > > > > thanks > > > > > -- > > > > 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?hl=en. > > > > -- > > > Michael J. Pedersen > > > My IM IDs: Jabber/[email protected], AIM/pedermj022171 > > > Yahoo/pedermj2002, MSN/[email protected] > > > My LinkedIn Profile:http://www.linkedin.com/in/michaeljpedersen > > > Twitter: pedersentg > > > -- > > 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?hl=en. > > -- > Michael J. Pedersen > My IM IDs: Jabber/[email protected], AIM/pedermj022171 > Yahoo/pedermj2002, MSN/[email protected] > My LinkedIn Profile:http://www.linkedin.com/in/michaeljpedersen > Twitter: pedersentg
-- 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?hl=en.

