onaio / tally-ho

Election results data entry and verification software.
http://tally-ho.readthedocs.org/en/latest/
Other
19 stars 21 forks source link

Add ability to attach ballots/races to sub-cons #208

Open pld opened 5 years ago

pld commented 5 years ago

Currently when you create a new ballot it is not visible in the system because ballots always need to be attached to a sub-con.

Some options:

pld commented 5 years ago

Note that I don't know why these are separate, this is how it was defined in the original data model proposed by UNDP and we went with it.

pld commented 5 years ago

@mrajayp can we go ahead and combine the ballots and sub-cons by removing the sub-cons?

pld commented 5 years ago

Looking at the code a bit more, sub-cons do the work of grouping multiple ballots together, so that's a good reason to keep them.

It also looks like we'd want to solve the component to ballot issue before talking this, i.e. no longer hard-code the mapping from components to ballots.

It makes so do a decent refactor as we work in this issue, can we remove this from priority 1 to make time for that?