redirect routes need some detailed design.
a) There should be an easy way to define internal redirects.
Important thing here is that the destination url should be defined
using routes by itself. I am not sure about the syntax, but url_for
need not be available at the moment (for
PS2. Just tried to change to this:
sqlalchemy.echo=False
sqlalchemy.echo_pool=False
and indeed I have no logs printed with above...
Those are simply ignored, =True would not work too. They would be used
if you defined your database url as sqlalchemy.url (prefix before
.echo must match prefix
On Nov 23, 2007 6:19 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
Well, I think the current solution (function being passed by the framework to
routes) is better, as it gives more flexibility. Throwin an exception would
force just a single way of informing the framework about redirects - and
Hi Everyone,
I am currently having a problem, where if two requests come into my
server at almost the same time, I end up with a 500 server error. I
am using paster serve and egg:Paste#http on Pylons 0.9.6 and Paste
1.4.2. The traceback I get ends with:
Module paste.httpserver:166 in
please don't get rid of url_for(controller='foo', action='bar') I use
that all the time, and although I know that url_for('named route') does
look more elegant, if you get rid of the former behavior, then we're
left having to name all of our controller/actions pairs. To me this
looks like
On Nov 23, 2007 7:34 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
W liście Mike Orr z dnia piątek 23 listopada 2007:
On Nov 23, 2007 6:19 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
Well, I think the current solution (function being passed by the
framework to routes) is better, as it
W liście Mike Orr z dnia piątek 23 listopada 2007:
On Nov 23, 2007 5:46 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
W liście Marcin Kasperski z dnia piątek 23 listopada 2007:
redirect routes need some detailed design.
If we had a separate redirect layer, where would it reside? As a
On Nov 23, 2007 5:46 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
W liście Marcin Kasperski z dnia piątek 23 listopada 2007:
redirect routes need some detailed design.
I think that this does not belong to routes - but to pylons in general.
In fact I believe that redirect function in routes
W liście Marcin Kasperski z dnia piątek 23 listopada 2007:
redirect routes need some detailed design.
a) There should be an easy way to define internal redirects.
Important thing here is that the destination url should be defined
using routes by itself. I am not sure about the syntax,
On Nov 22, 3:38 pm, Tomasz Nazar [EMAIL PROTECTED] wrote:
I think I have found some strange behaviour in Pylons and it is repeatable.
It is related to _ (gettext) function and having debug sessions with
nice Pylons 'Error Traceback' console
I saw the same problem (using Pylons trunk). I
Mike Orr wrote:
On Nov 23, 2007 5:46 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
W liście Marcin Kasperski z dnia piątek 23 listopada 2007:
redirect routes need some detailed design.
I think that this does not belong to routes - but to pylons in general.
In fact I believe that redirect
On Nov 23, 2007 4:30 AM, Marcin Kasperski
[EMAIL PROTECTED] wrote:
c) In case of internal redirects it may make sense to handle
'invisible redirect' (just picking the destination object using the
redirected-to route without generating any redirect to the browser)
as one of the
W liście Mike Orr z dnia piątek 23 listopada 2007:
On Nov 23, 2007 6:19 AM, Paweł Stradomski [EMAIL PROTECTED] wrote:
Well, I think the current solution (function being passed by the
framework to routes) is better, as it gives more flexibility. Throwin an
exception would force just a
New Program Send Big File Fast and Easy Apply For FREE!!!
WHO WE ARE
YouSendIt is the No. 1 digital file delivery company serving business and
individuals businesses who want a easy, secured, reliable and faster way to
SEND, RECEIVE and TRACK DIGITAL FILES.
YOUSENDIT SOLUTION
We replace the
On Nov 23, 2007, at 1:37 AM, Mike Orr wrote:
A few of us have been kicking around ideas for improving Routes. I've
got an API proposal at
http://wiki.pylonshq.com/display/routes/Proposed+Changes
I'd like some feedback from those who use Routes heavily on whether
you use the less-common
15 matches
Mail list logo