DoSomething / chompy

:card_index: The DoSomething.org third-party importer.
MIT License
1 stars 0 forks source link

Add post.group_id if found in tracking source #176

Closed aaronschachter closed 4 years ago

aaronschachter commented 4 years ago

What's this PR do?

This pull request modifies the RTV import to include a group_id value when creating a voter-reg post if one is found within the tracking source.

Additional changes:

How should this be reviewed?

👀

An easy manual test is to use the test import form to create a new voter-reg post with a tracking source for a valid group ID, e.g source:web,source_details:groupTest,group_id=3.

Confirm the post is created with the expected group_id value.

Any background context you want to provide?

We're not sending along the group_id from the web yet, but this gets us ready to store it properly once we are.

Relevant tickets

References Pivotal #173019785.

Checklist