Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Adds a new domain of influence: municipality
Browse files Browse the repository at this point in the history
  • Loading branch information
msom committed Sep 7, 2016
1 parent 333de42 commit 30bc987
Show file tree
Hide file tree
Showing 7 changed files with 241 additions and 202 deletions.
13 changes: 13 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ Changelog

Unreleased
~~~~~~~~~~

- Adds a new domain of influence: municipality.
The following rows have been renamed:

- Election.total_municipalities -> Election.total_entities
- Election.counted_municipalities -> Election.counted_entities
- ElectionResult.municipality_id -> Election.entity_id
- BallotResult.municipality_id -> Election.entity_id

[msom]

0.8.0 (2016-08-26)
~~~~~~~~~~~~~~~~~~~

Expand All @@ -23,6 +34,7 @@ Unreleased

- Changes the behaviour of the last_result_change function to include the last
change of the election/vote, too.
[msom]

0.6.0 (2016-06-23)
~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -114,6 +126,7 @@ Unreleased
~~~~~~~~~~~~~~~~~~~

- Renames the "yays" to "yeas", the correct spelling.
[href]

0.0.3 (2015-06-26)
~~~~~~~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions onegov/ballot/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class DomainOfInfluenceMixin(object):
Enum(
'federation',
'canton',
'municipality',
name='domain_of_influence'
),
nullable=False
Expand Down

0 comments on commit 30bc987

Please sign in to comment.