Skip to content
#

peewee

Here are 108 public repositories matching this topic...

romeroyonatan
romeroyonatan commented Feb 8, 2018

I am trying to implement SimplePasswordField, but based in documentation, I cant do it.

I search for examples in tests.py but this field is not tested.

Here is my snippet:

In [1]: import peewee_extra_fields

In [2]: f = peewee_extra_fields.SimplePasswordField(salt='superseguro')

In [3]: f.db_value('12345678')
Out[3]: '95c67bd1188555cb1a3cf54357f4cdb47cc835a536cc53f60e0b

Improve this page

Add a description, image, and links to the peewee topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the peewee topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.