Open laredotornado opened 1 year ago
Just to check, in the version of parse_coop_csv.py I found on the authentication branch, the addresses line is commented out. Should be there or should it not? I believe it was removed because of the directory.coopaddresstags model, which links the address to the coop though the pointer tagged coop_id.
Connecting entities to addresses was something you worked on so I would definitely advocate for fixing it so that the coop is associated with one or multiple addresses. Feel free to use the same changes you used when you originally worked on the address ticket.
Coding changes made. Example from seed_data.yaml pasted below.
Fixed in `3.1-model-refactor.
If you check out the authentication branch
and then rebuild your Docker containers, you'll notice we now can support multiple emails/phone contacts per entity. The trouble is, when our script runs, it is currently generating data using a single ID format, e.g.
Notice above "email" has a single number, representing the id of the contact for email. However, the format above needs to change to
Similarly, entities that represent a phone contact as a single phone number, need to change to have thte brackets. So this
need to change to this
As a reminder, to run the script, run these commands locally