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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/t/mt-serverland-HEAD/serverland/dashboard/api/handlers.py   mt-serverland(Download)
        form = TranslationRequestForm(request.user, postdata, request.FILES)
        try:
            if not form.is_valid():
                return rc.BAD_REQUEST
        except KeyError:

src/m/t/mt-serverland-HEAD/serverland/dashboard/views.py   mt-serverland(Download)
              ['{0}: {1}'.format(a, b[0]) for a, b in form.errors.items()]))
 
        if form.is_valid():
            LOGGER.info('Create request form is valid.')