Re: tutorial / screencast

2011-03-24 Thread Vincent Côté-Roy
Thanks! On Thu, Mar 24, 2011 at 12:00 AM, Blaise Laflamme bla...@laflamme.org wrote: Hi, there's a work-in-progress of a single file tutorial but docs are not completed... should be soon: https://github.com/blaflamme/pyramid_quick_tutorial On Mar 23, 3:51 pm, Vincent Côté-Roy

Re: An overview over form libraries

2011-03-24 Thread Gael Pasgrimaud
On Wed, Mar 23, 2011 at 7:57 PM, Mike Orr sluggos...@gmail.com wrote: FormAlchemy  * Pylons: some usage.  * Pyramid: Work just fine with pyramid: http://docs.formalchemy.org/pyramid_formalchemy/  * Philosophy: automatically generate widgets for fields in SQLAlchemy ORM objects. (Not usable

Pyramid: Authn policy, remember() and groupfinder confusion

2011-03-24 Thread Vlad K.
I'm slightly confused regarding the trio of AuthTktAuthenticationPolicy, its groupfinder callback and the pyramid.security.remember() function. First of all, I don't quite understand the kw params of the remember() function. If those params are app specific, where can they be read and used

Re: Pyramid: Authn policy, remember() and groupfinder confusion

2011-03-24 Thread Parnell Springmeyer
Vlad K. v...@haronmedia.com writes: First of all, I don't quite understand the kw params of the remember() function. If those params are app specific, where can they be read and used after remembering? I use it like this: headers = remember(request, user.id) return

Re: Pyramid: Authn policy, remember() and groupfinder confusion

2011-03-24 Thread Vlad K.
Yes, that much I understood from the documentation, but for example this is from the pyramid.security documentation: headers = remember(request, 'chrism', password='123', max_age='86400') From which I gather that password and max_age are the kw params where meaning of **kw must be

Deform/Colander Schema declaration with built-in validator

2011-03-24 Thread oO
Is it possible to declare a Mapping Schema with a built-in validator attached to it? I'm creating a form has uses Geo coordinates ( lat, lon ) and I'm looking for the best way to implement these. Right now, I have the following: class GeoCoordSchema(colander.MappingSchema): lat =

Authorization and forbidden view

2011-03-24 Thread drebbin
Hi all, I have setup auth and authz as described in the docs, together with open_id. For testing, I have made a simple secured view and have also set up the Forbidden view as a login form. As anonymous, logging in by hand and then visiting the secured page works fine. But when I directly

Re: Authorization and forbidden view

2011-03-24 Thread Chris McDonough
On Thu, 2011-03-24 at 18:09 -0700, drebbin wrote: Hi all, I have setup auth and authz as described in the docs, together with open_id. For testing, I have made a simple secured view and have also set up the Forbidden view as a login form. As anonymous, logging in by hand and then visiting