[Pyramid] route_url _query None value behavior

2011-05-21 Thread Jerry
: result += '%s%s=' % (prefix, k) 105 prefix = '' Thanks. Jerry -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel

Re: route_url _query None value behavior

2011-05-21 Thread Jerry
Google group messes with the formatting, which should have been -- else: if v.__class__ is unicode: v = v.encode('utf-8') if v: v = quote_plus(str(v)) result += '%s%s=%s' % (prefix, k, v) else: result += '%s%s=' % (prefix, k) Jerry On May 22, 9:32 am

Re: Pyramid 1.0a8 released

2010-12-27 Thread Jerry
Hi Chris, Thank you very much for the new release! Is it possible to sync the flash functions to pyramid_beaker? I've tried to look into pyramid_beaker myself but haven't figured out how to jam pyramid session.py's @manage_accessed in... Jerry On Dec 28, 6:59 am, Chris McDonough chr

Re: pyramid 1.0a5 released

2010-12-15 Thread Jerry
: pyramid.configuration.ConfigurationError is deprecated as of Pyramid 1.0. Use ``pyramid.config.ConfigurationError`` instead. value = getattr(object, key) On one hand, they don't seem to affect any functionality, on the other, they are too numerous to be annoying. Any tip will be much appreciated. Jerry On Dec 15, 3:41 pm, Chris

Re: pyramid 1.0a5 released

2010-12-15 Thread Jerry
Many thanks Chris, the problem is solved in 1.0a6 Jerry On Dec 16, 4:16 am, Chris McDonough chr...@plope.com wrote: On Wed, 2010-12-15 at 12:54 -0500, Chris McDonough wrote: On Wed, 2010-12-15 at 09:50 -0800, Jerry wrote: Hi Chris, Upon upgrade, and after updating all from

Re: Using beaker cache with pyramid

2010-12-12 Thread Jerry
Thanks for the tip. However, the ultimate goal is to cache the template output (e.g., I choose Genshi for its power at some expense of speed) and I'm sure many people would want to know how to juggle Pyramid/Beaker/XTemplate to make it work. Jerry On Dec 13, 3:45 am, Daniel Holth dho

Re: @view_config and URL dispatch

2010-12-12 Thread Jerry
') /views.py Maybe the doc could have made it clearer that view_config() 'name' and 'route_name' arguments can not co-exist (for URL dispatch?). Thanks again. Jerry On Dec 13, 11:48 am, blaflamme blaise.lafla...@gmail.com wrote: You must not define the view in your route, that should work: __init__.py

Re: Using beaker cache with pyramid

2010-12-11 Thread Jerry
(pyramid.traversal.DefaultRootFactory instance at 0xaa67e2c, Request at 0xaa67e0c GET http://localhost:6543/) How does beaker cache work with Pyramid? Thanks. Jerry On Dec 12, 2:49 am, Daniel Holth dho...@gmail.com wrote: Massimiliano, I went down the same path of looking for a per-request caching middleware that worked

Re: Want to contribute - looking for task

2010-11-16 Thread Jerry
I, for one, hope see a non-trivial working example, e.g., QuickWiki, of pyramid project with SQLAlchemy, URL Dispatch, Beaker session, authentication/authorization, Chameleon template, and unit tests. Does that sound fun enough? Jerry On Nov 15, 6:31 pm, Alex Abushkevich a.abushkev...@gmail.com