8 lines
397 B
Python
8 lines
397 B
Python
# Common majority methods for all apps using polls. The first one should be the default.
|
|
majorityMethods = (
|
|
{"value": "simple_majority", "display_name": "Simple majority"},
|
|
{"value": "two-thirds_majority", "display_name": "Two-thirds majority"},
|
|
{"value": "three-quarters_majority", "display_name": "Three-quarters majority"},
|
|
{"value": "disabled", "display_name": "Disabled"},
|
|
)
|