Re: WebHelpers conflict #63 and #59

2011-03-20 Thread danjac...@gmail.com
Check if items is a sqlalchemy query would be an immediate fix. This can seriously kill a web server so paginate should be considered unusable with sqlalchemy until this is resolved. On 20 Mar 2011 08:04, "Mike Orr" wrote: I got this bug report in WebHelpers 1.3b1: On Sat, Mar 19, 2011 at 9:36

Re: Pyramid 2 ideas

2011-03-14 Thread danjac...@gmail.com
Migration to Python 3 aside (which has to happen, sooner or later) my concern here is that moving to Pyramid 2 so quickly is a bit premature given the paint is barely dry on Pyramid 1. Should we not wait until there are some actual projects built with Pyramid, and we get feedback from real world u

Re: CSRF protection and session factories

2011-03-09 Thread danjac...@gmail.com
I've got a simplistic example here: http://packages.python.org/pyramid_simpleform/#csrf-validation On 9 March 2011 06:47, Chris Withers wrote: > Hi All, > > First, the important question: If I use > http://docs.pylonsproject.org/projects/pyramid/1.0/narr/sessions.html#using-the-default-session-f

Fwd: Some thoughts about Pyramid

2011-03-03 Thread danjac...@gmail.com
I'm not sure the OP is trolling, it comes across as frustration. While some of the things he points out are unfair and suggest unfamiliarity with certain aspects of the framework, there are some valid points in here as well: 1. The usage of traversal vs dispatch. It's unclear even to those quite f

Re: default permission overriding

2011-02-19 Thread danjac...@gmail.com
As an aside, it would be a good idea to have a constant value instead of "__no_permission_required__". On 18 February 2011 17:14, Chris Withers wrote: > On 18/02/2011 16:48, Chris McDonough wrote: >>> >>> @view_config(context=Blog, name='add_entry.html', permission=None) >>> >>> ...seems an expli

Re: pyramid CRUD

2011-02-13 Thread danjac...@gmail.com
The screenshots look great. I'd be very interested in seeing this developed further. On 11 February 2011 15:45, Andrew Mleczko wrote: > Beeing a bfg user (now also pyramid) I was searching for crud > integration with rich UI. For our internal usage we have developed one > based on formalchemy (pl