Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)
password schema validator
that uses password tool for additional checks

        def passwordValidator(field, value):
    """ password schema validator
    that uses password tool for additional checks"""
    if value is not pform.null:
        err = pwd_tool.validate(value)
        if err is not None:
            raise pform.Invalid(err, field)
        


src/p/t/ptah_crowd-0.1/ptah_crowd/schemas.py   ptah_crowd(Download)
import ptah
from ptah import form
from ptah.password import passwordValidator
 
from ptah_crowd.settings import _

src/p/t/ptahcrowd-0.2/ptahcrowd/user.py   ptahcrowd(Download)
 
import ptah
from ptah.password import passwordValidator
 
import ptahcrowd

src/p/t/ptahcrowd-0.2/ptahcrowd/schemas.py   ptahcrowd(Download)
 
import ptah
from ptah.password import passwordValidator
 
from ptahcrowd import const

src/p/t/ptahcrowd-HEAD/ptahcrowd/user.py   ptahcrowd(Download)
 
import ptah
from ptah.password import passwordValidator
 
import ptahcrowd

src/p/t/ptahcrowd-HEAD/ptahcrowd/schemas.py   ptahcrowd(Download)
 
import ptah
from ptah.password import passwordValidator
 
from ptahcrowd import const

src/p/t/ptah-HEAD/ptah/tests/test_password.py   ptah(Download)
    def test_password_validator(self):
        from ptah.password import passwordValidator, PasswordTool
 
        vp = PasswordTool.validate
 

src/p/t/ptah-0.8.0/ptah/tests/test_password.py   ptah(Download)
    def test_password_validator(self):
        from ptah.password import passwordValidator, PasswordTool
 
        vp = PasswordTool.validate