Mark Ramm wrote:
Of course it would also be possible to do 1 and 2 inside of the
use_wsgi_app function, and I thought I added a ticket to make that
happen, but I can't find it now.
Hmm, not really I believe... Take close look at the code I posted. The
default() method needs to see what
percious wrote:
How about WSGIAppController, and you pass in a wsgi app to the
__init__?
Err, yeah, that's exactly what the example I linked to does... ;)
(rum_app *is* a WSGI app)
Alberto
--~--~-~--~~~---~--~~
You received this message because you are
Hmm, not really I believe... Take close look at the code I posted. The
default() method needs to see what arguments were passed as positional
args to calculate how many elements it needs to pop from PATH_INFO into
SCRIPT_NAME. Unless TG stores this info somewhere in the request object
The only caveat is that it probably doesn't belong inside
tg.controllers... but I do think that TG2 should bundle a bunch of
helpers like this inside since it they're so short and don't need to
pull dependencies (since you can do the imports inside __init__ and
configire the app there). They
Dean Landolt wrote:
The only caveat is that it probably doesn't belong inside
tg.controllers... but I do think that TG2 should bundle a bunch of
helpers like this inside since it they're so short and don't need to
pull dependencies (since you can do the imports inside
On Sat, Jan 10, 2009 at 11:07 AM, Alberto Valverde albe...@toscat.net wrote:
Dean Landolt wrote:
The only caveat is that it probably doesn't belong inside
tg.controllers... but I do think that TG2 should bundle a bunch of
helpers like this inside since it they're so short and
For those not following IRC, Jorge and I have created a tgext package to
dump all these nifty utilities in, TracController now lives here:
http://toscawidgets.org/hg/tgext.wsgiapps
Alberto
--~--~-~--~~~---~--~~
You received this message because you are
On Fri, Jan 9, 2009 at 8:16 PM, Sanjiv Singh singhsanj...@gmail.com wrote:
I don't understand.
I mean, I missed the fact that this issue was already reported and resolved
:)
Well,
In fact I fixed this problem so time ago but it crawled again in the code
I just committed a fix r6042