coalition.legislators.models
Classes
Make subclasses preserve the alters_data attribute on overridden methods. |
Module Contents
- class coalition.legislators.models.Legislator(*args, **kwargs)[source]
Bases:
django.db.models.Model
Make subclasses preserve the alters_data attribute on overridden methods.
- clean() None [source]
Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.