Re: debug var and templates

2009-02-11 Thread Mike Orr
On Tue, Feb 10, 2009 at 11:42 PM, Eric Lemoine eric@gmail.com wrote: Hi Some simple questions related to the debug var defined in the development.ini file: (1) Why is this variable defined using set? Other variables in the development.ini file aren't defined using set, so what does

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Wichert Akkerman
Previously Philip Jenvey wrote: I just applied a fix that now correctly handles eleith's issue with duplicate query params, and always includes the function name regardless of the key type specified. A fix was made about a month ago to make it work everywhere (not just controller

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Wichert Akkerman
Previously Philip Jenvey wrote: I just applied a fix that now correctly handles eleith's issue with duplicate query params, and always includes the function name regardless of the key type specified. I think you also need to add the class name if you get a bound function: you may very

Re: Authorization with repoze.what in Pylons

2009-02-11 Thread Roger Demetrescu
On Tue, Feb 10, 2009 at 17:51, Gustavo Narea m...@gustavonarea.net wrote: Hello, everybody. I'm pleased to announce that I have: 1.- Finished the guide on how to use repoze.what in Pylons: http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what 2.- Created a plugin

Re: Authorization with repoze.what in Pylons

2009-02-11 Thread Gustavo Narea
Thanks for spotting that, Roger! ;-) Yes, you're right. I just fixed the HOWTO accordingly. Cheers. On Wednesday February 11, 2009 12:54:20 Roger Demetrescu wrote: On Tue, Feb 10, 2009 at 17:51, Gustavo Narea m...@gustavonarea.net wrote: Hello, everybody. I'm pleased to announce that I

Re: debug var and templates

2009-02-11 Thread Eric Lemoine
On Wed, Feb 11, 2009 at 9:02 AM, Mike Orr sluggos...@gmail.com wrote: I personally validate and change the types of the config vars in environment.py. That way if there's a missing or incorrect variable it'll cause an error at startup rather than only in certain request situations. Makes

Re: i18n request.languages - pylons 0.9.7

2009-02-11 Thread Ben Bangert
On Feb 9, 2009, at 1:08 AM, Uwe Feldtmann wrote: My browser sends the following accept-language string in the header Accept-Language: en,en-us;q=0.8,ar;q=0.5,ta;q=0.3 what I get printed is this: header: en,en-us;q=0.8,ar;q=0.5,ta;q=0.3 lang: ['en', 'en-us'] When I should get this: header:

Re: Authorization with repoze.what in Pylons

2009-02-11 Thread Audrius Kažukauskas
On Tue, 2009-02-10 at 21:51:17 +0100, Gustavo Narea wrote: Hello, everybody. I'm pleased to announce that I have: 1.- Finished the guide on how to use repoze.what in Pylons: http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what 2.- Created a plugin to integrate

Re: Authorization with repoze.what in Pylons

2009-02-11 Thread Ben Bangert
On Feb 11, 2009, at 12:37 PM, Audrius Kažukauskas wrote: Having said that, there's one issue I've encountered while integrating repoze.what: model.meta.Session was imported in config/middleware.py at the time when model.init_model() hasn't been called yet, so Session was still None and

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Philip Jenvey
On Feb 11, 2009, at 3:38 AM, Wichert Akkerman wrote: Previously Philip Jenvey wrote: I just applied a fix that now correctly handles eleith's issue with duplicate query params, and always includes the function name regardless of the key type specified. I think you also need to add the

appengine SDK 1.1.9 and appengine-monkey

2009-02-11 Thread Ian Bicking
Reportedly (http://code.google.com/p/googleappengine/issues/detail?id=61 and http://code.google.com/p/googleappengine/issues/detail?id=60) the appengine SDK (and presumably live environment) now include many of the pieces from appengine-monkey. This means that potentially appengine-monkey is not

Re: appengine SDK 1.1.9 and appengine-monkey

2009-02-11 Thread Walter Cruz
I can test it tomorrow. On Wed, Feb 11, 2009 at 7:54 PM, Ian Bicking i...@colorstudy.com wrote: Reportedly (http://code.google.com/p/googleappengine/issues/detail?id=61and http://code.google.com/p/googleappengine/issues/detail?id=60) the appengine SDK (and presumably live environment) now

Re: beaker_cache query_args when duplicate queries are in

2009-02-11 Thread Wichert Akkerman
On 2/11/09 11:12 PM, Philip Jenvey wrote: The class's name and module name are used for the cache's namespace, which'll prevent clashes. For normal functions just the function's module name is used for the namespace. Looking at this again maybe the class name should be in the key instead