t way to change the default url quoting behavior of the
routes package? Is there a way to turn it off entirely? What is the
most common way to implement "hyphen-encoding" of urls rather than
"plus-encoding"?
Thanks,
Andres
--~--~-~--~~~---~--~~
fied action does work though:
def end_session(self):
session.save()
session.delete()
return 'session deleted'
Am I not understanding something about the way sessions work? Why you
have to save() before calling delete()? Is this a bug?
Thanks,
Andres
--~--~-~--~~--
Yep - that fixes the problem.
-Andres
On Feb 13, 2:35 pm, Ben Bangert wrote:
> On Feb 12, 2009, at 12:11 PM, andres wrote:
>
> > Am I not understanding something about the way sessions work? Why you
> > have to save() before calling delete()? Is this a bug?
>
> Defin
Hi All,
I'm using Pylons 0.9.7 StatusCodeRedirect middleware to display custom
error documents and I can't find the original request in the
environment.
Does anybody know how I can access the original request after a status
code redirect?
Thank
Hi All,
I have a homegrown authentication system which is similar to AuthKit
and I want to pass arguments to the AuthMiddleware using arguments to
the exceptions. How can I access the exception that triggered the
ExceptionHandler?
I hope my question makes sense!
Thanks,
Andres
ng instead. That
works fine, but I'd like to access the original exception to extract
error messages and other metadata.
Thanks,
Andres
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" gro
best place to put the rate limiter? As far as I can tell,
the possible candidates are:
in config/middleware.py
in lib.base.BaseController.__before__
in lib.base.BaseController.__call__
Any architecture advice would be very much appreciated!
Thanks,
A
best place to put the rate limiter? As far as I can tell,
the possible candidates are:
in config/middleware.py
in lib.base.BaseController.__before__
in lib.base.BaseController.__call__
Any architecture advice would be very much appreciated!
Thanks,
A
e. I've had problems handling
exceptions in middleware though. What's the best way to get the last
exception raised?
What's the difference between __call__ and __before__?
Thanks,
Andres
--~--~-~--~~~---~--~~
You received this message because you
Awesome! Thanks so much for your help.
-Andres
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe
modules faster to import?
Thanks,
Andres
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to
pylons-discuss+unsubscr..
er
of these things though, I wanted to make sure I wasn't missing
something.
How does Pylons recommend accessing the runtime configuration?
Thanks,
Andres
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send emai
ull application requests?
-Andres
On Mar 26, 2:31 pm, Mike Orr wrote:
> On Fri, Mar 26, 2010 at 9:03 AM, andres wrote:
> > Hi,
>
> > I'm in the process of upgrading to Pylons 1.0 and I have some
> > questions about runtime configuration.
>
> > According
ional
$ nosetest test_proxy.py
>>>
>>> SetupCommand('setup-app').run([pylons.test.pylonsapp.config['__file__']])
>>> AttributeError: 'NoneType' object has no attribute 'config'
Let me know if there's anything I can do to
mykey')
Regarding nosetests, my coworker had a problem running tests
individually as well. I'll look into it some more and post a message
to pylons-discuss if I'm still having problems. Incidentally, what
version of nostests are you using? I'm using 0.11.3.
-Andres
On Mar 26, 1
documentation
and publish a recommendation for how to enable runtime configuration
outside the bounds of a request.
-Andres
On Mar 27, 5:33 pm, Ben Bangert wrote:
> On Mar 26, 2010, at 9:03 AM, andres wrote:
>
>
>
>
>
> > This works fine within the context of a WSGI app in
val1')). Is that mechanism available within the pylons
environment?
Thanks!
-Andres
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group,
):
responses = [self.app.get(resource_url) for resource_url in
resource_urls]
return json.dumps(responses)
Is there a way to access the app instance from within the app itself?
Or, is there a better way to pass a url argument to the app from
inside the app?
Thanks,
Andres
--
You
Cool solution! Is there a way to access the app outside of middleware?
Would it make sense to add it to the environment so I can access it
from within a controller?
-Andres
On Oct 22, 10:09 am, Gael Pasgrimaud wrote:
> On Fri, Oct 22, 2010 at 3:47 PM, andres wrote:
> > Hi,
>
>
19 matches
Mail list logo