PhilanthropyDataCommons / service

A project for collecting and serving public information associated with grant applications
GNU Affero General Public License v3.0
8 stars 2 forks source link

Create `Organizations` and `OrganizationProposals` during bulk upload #924

Closed slifty closed 6 months ago

slifty commented 6 months ago

This PR updates the bulk upload process to also create any organizations and organization-proposal relationships for the proposals being uploaded.

Note that this PR follows a similar pattern to the old "applicant" logic, and uses magic / hard-coded base field short codes which may or may not actually exist in the database. There's an open issue to explore possibly finding a way to possibly improve this approach / make the code base itself uncoupled from any given short codes: #922.

Resolves #902