Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trello
Blocked by DemocracyClub/yournextrepresentative#2147
Lumped in some minor text changes at Peter's request, so this PR also closes #1638 🔐
This work adds a breakdown of which nations parties can field candidates in. The change only applies to non-joint parties on the GB register.
Example:
To test:
YNR setup
manage.py runserver 4444
)WCIV setup
YNR_BASE
to point at your local YNR on its new port (e.g.YNR_BASE = "http://0.0.0.0:4444"
)manage.py migrate
manage.py import_parties
Tests
No change
Northern Ireland
Joint Party
Changes
The steps for these are the same. Find parties with one, two and three registered nations and check that the text is formatted as in the below images.
Party registered in one nation
Party registered in two nations
Party registered in three nations
PR Checklist