wtfs.fields.municipality

Classes

MunicipalityDataUploadField

An upload field containg municipality data.

Module Contents

class wtfs.fields.municipality.MunicipalityDataUploadField(label=None, validators=None, filters=(), description='', id=None, default=None, widget=None, render_kw=None, name=None, _form=None, _prefix='', _translations=None, _meta=None)[source]

Bases: onegov.form.fields.UploadField

An upload field containg municipality data.

data: Any[source]
post_validate(form: wtforms.form.BaseForm, validation_stopped: bool) None[source]

Override if you need to run any field-level validation tasks after normal validation. This shouldn’t be needed in most cases.

Parameters:
  • form – The form the field belongs to.

  • validation_stoppedTrue if any validator raised StopValidation.