iain duncan wrote:
> 
>> Did you stack paste.httpexceptions' middleware?
>>
>> There should be a line inside your project's middleware.py's make_app()
>> like this one:
>>
>> http://trac.turbogears.org/browser/trunk/tg/templates/turbogears/%2Bpackage%2B/config/middleware.py_tmpl#L66
> 
> Got it, Alberto it looks like you put the stack in the wrong place in
> middleware.py template. I just moved the new stuff up to right spot and
> now redirect is working. Yay!
> 
> What am I supposed to use to patch for things kind of things anyway?
> I've never patched someone else's python code in svn before so I'm
> reluctant to screw it up.
> 
> Anyway. Change this:
> 
>  (....)
> 
> And it works.

Duh! My fault for not testing that and committing it in a hurry...
Thanks for fixing it! :)

Regarding how to make the patch... it's very easy... I think there's
something written up in the docs wiki... lemme see... here it is:
http://docs.turbogears.org/patching_guidelines

Patches are even more inofensive than screwed commits (which can always
be reverted) so don't be afraid to break up anything ;)

Since this change is pretty trivial to honor the ticket-patch-commit
ceremony I just manually applied it at latest rev.

Alberto

P.S. Hope to have the validate() by tomorrow... I'm sleepy now. Anyway,
if you want to beat me to it there are some links in this comment
http://trac.turbogears.org/ticket/1426#comment:6 to the place where I
plan to extract the code I need...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to