We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refs #2343 (review)
We've got a couple of places where there are several similar chunks of SQL
EveryElection/every_election/apps/organisations/models/divisions.py
Lines 176 to 216 in f8b745a
EveryElection/every_election/apps/organisations/models/organisations.py
Lines 155 to 216 in f8b745a
One option would be to try and abstract out the common part.
That said, the only place where we are using the constants at all is in https://github.com/DemocracyClub/EveryElection/blob/master/every_election/apps/organisations/management/commands/populate_subdivided_tables.py
Now that we should be populating the subdivided geographies on save, do we need the management command any more? Lets see how #2343 beds in first..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Refs #2343 (review)
We've got a couple of places where there are several similar chunks of SQL
EveryElection/every_election/apps/organisations/models/divisions.py
Lines 176 to 216 in f8b745a
EveryElection/every_election/apps/organisations/models/organisations.py
Lines 155 to 216 in f8b745a
One option would be to try and abstract out the common part.
That said, the only place where we are using the constants at all is in
https://github.com/DemocracyClub/EveryElection/blob/master/every_election/apps/organisations/management/commands/populate_subdivided_tables.py
Now that we should be populating the subdivided geographies on save, do we need the management command any more? Lets see how #2343 beds in first..
The text was updated successfully, but these errors were encountered: