datamade / django-councilmatic

:heartpulse: Django app providing core functions for *.councilmatic.org
http://councilmatic.org
MIT License
26 stars 16 forks source link

Allow for more than one jurisdiction #178

Closed evz closed 6 years ago

evz commented 6 years ago

On top of being able to import bill data for more than one organization, it also makes sense to allow for data to come from more than one jurisdiction. This change modifies the OCD_JURISDICTION_ID setting to OCD_JURISDICTION_IDS which expects a list of jurisdiction IDs that you'd like to import data from.

evz commented 6 years ago

@reginafcompton Any chance you can review this? It adds support for more than one jurisdiction and adds a relationship between Organizations and the Jurisdiction they are under. I'm pretty sure this shouldn't break anything in the currently running Councilmatics but we might want to cut a version before we merge this in so that we don't accidentally do that.