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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Validates the form by calling `validate` on each field, passing any
extra `Form.validate_<fieldname>` validators to the field validator.

src/m/e/mediagoblin-spaetz-0.3.2.dev/mediagoblin/auth/views.py   mediagoblin-spaetz(Download)
    login_failed = False
 
    if request.method == 'POST' and login_form.validate():
        user = request.db.User.find_one(
            {'username': request.form['username'].lower()})

src/m/e/mediagoblin-HEAD/mediagoblin/auth/views.py   mediagoblin(Download)
    login_failed = False
 
    if request.method == 'POST' and login_form.validate():
        user = request.db.User.one(
            {'username': request.POST['username'].lower()})