coalition.campaigns.models.bill
Bill model for legislative bills linked to campaigns.
Classes
Model representing legislative bills at federal and state levels. |
Module Contents
- class coalition.campaigns.models.bill.Bill(*args, **kwargs)[source]
Bases:
django.db.models.Model
Model representing legislative bills at federal and state levels.
- 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.