On Wed, Mar 3, 2010 at 8:30 AM, Mariano Mara wrote:
> Excerpts from gazza's message of Wed Feb 10 18:08:12 -0300 2010:
>> Hello,
>>
>> I need to encrypt a couple of table entries of sql-alchemy database.
>> I could cycle through the entries and encrypt my own, however does
>> pylons offer an api t
Just an additional note, you can combine validators to solve the int/
str problem using All or Any, (from formencode import All, Any) such
as:
my_select = All(OneOf([0,1,2,3,5,8,13,21,34]), Int())
So here Int converts the string to an integer and that integer gets
checked by OneOf.
You probably n
Excerpts from gazza's message of Wed Feb 10 18:08:12 -0300 2010:
> Hello,
>
> I need to encrypt a couple of table entries of sql-alchemy database.
> I could cycle through the entries and encrypt my own, however does
> pylons offer an api to do this?
>
> Much appreciated,
> Garyc
>
Several databas
gazza writes:
> I need to encrypt a couple of table entries of sql-alchemy database.
> I could cycle through the entries and encrypt my own, however does
> pylons offer an api to do this?
Does something like this work for you?
# In yourapp/model/__init__.py:
class YourTable(object):
def _s