def __call__(self): try: result = FormView.__call__(self) except colander.Invalid, exc: self.logger.exception( "Exception while rendering form " "'%s': %s - struct received: %s", self.title, exc, self.appstruct()) raise
def __call__(self): if self.use_csrf_token and 'csrf_token' not in self.schema: self.schema.children.append(CSRFSchema()['csrf_token']) try: result = FormView.__call__(self) except colander.Invalid, exc: self.logger.exception( "Exception while rendering form " "'%s': %s - struct received: %s", self.title, exc, self.appstruct()) raise
def __call__(self): BaseView.__call__(self) base = FormView.__call__(self) return base