On Dec 25, 2012, at 9:38 PM, Michael Bayer wrote:

> 
> The recipe for this at http://www.sqlalchemy.org/trac/wiki/UsageRecipes/ had 
> fallen out of date, so I replaced it with a new one using current hybrid 
> techniques which you can see using PG's crypt()/gen_salt() functions here: 
> http://www.sqlalchemy.org/trac/wiki/UsageRecipes/DatabaseCrypt .

I've also just added a second example there, using the TypeDecorator system.  
0.8 has introduced significant new capabilities to the core type system, so 
with this approach I've created a single datatype called PasswordType that does 
the same coercion/comparison as the ORM-level "hybrid" version.


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to