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

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
Registers which validators ought to be applied to the following action

Copies the functionality of TurboGears2.0, rather than that of Pylons1.0,
except that we validate request.params, not kwargs. TurboGears has the
unfortunate need to validate all kwargs because it uses object dispatch.
We really only need to validate request.params: if we do need to
validate the kw/routing args we can and should do that in our routes.

If you want to validate the contents of your form,
you can use the ``@validate()`` decorator to register(more...)

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/media.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (autocommit, expose, expose_xhr,
    observable, paginate, validate, validate_xhr)
from mediadrop.lib.helpers import redirect, url_for

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/users.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (autocommit, expose, expose_xhr,
    observable, paginate, validate)
from mediadrop.lib.helpers import redirect, url_for

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/podcasts.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (autocommit, expose, expose_xhr,
    observable, paginate, validate)
from mediadrop.lib.helpers import redirect, url_for

src/m/e/mediadrop-HEAD/mediadrop/controllers/api/media.py   mediadrop(Download)
from mediadrop.lib import helpers
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import expose, expose_xhr, observable, paginate, validate
from mediadrop.lib.helpers import get_featured_category, url_for, url_for_media
from mediadrop.lib.thumbnails import thumb

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/tags.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (autocommit, expose, observable, paginate, 
    validate)
from mediadrop.lib.helpers import redirect

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/groups.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (autocommit, expose, observable, paginate, validate)
from mediadrop.lib.helpers import redirect, url_for
from mediadrop.model import fetch_row, Group, Permission

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/categories.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (autocommit, expose, observable, paginate, 
    validate)
from mediadrop.lib.helpers import redirect, url_for

src/m/e/mediadrop-HEAD/mediadrop/controllers/podcasts.py   mediadrop(Download)
from mediadrop.lib import helpers
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (beaker_cache, expose, observable, 
    paginate, validate)
from mediadrop.lib.helpers import content_type_for_response, url_for, redirect

src/m/e/mediadrop-HEAD/mediadrop/controllers/categories.py   mediadrop(Download)
 
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import (beaker_cache, expose, observable, 
    paginate, validate)
from mediadrop.lib.helpers import content_type_for_response, url_for, viewable_media

src/m/e/mediadrop-HEAD/mediadrop/controllers/admin/storage.py   mediadrop(Download)
from mediadrop.lib.auth import has_permission
from mediadrop.lib.base import BaseController
from mediadrop.lib.decorators import autocommit, expose, observable, validate
from mediadrop.lib.helpers import redirect, url_for
from mediadrop.lib.storage import sort_engines, StorageEngine

  1 | 2  Next