geeksforsocialchange / PlaceCal

Bring your community together
https://placecal.org
GNU Affero General Public License v3.0
17 stars 8 forks source link

We have attributes saved as 'place' and 'place_id' on some models that are actually referring to partners #2268

Open r-ferrier opened 8 months ago

r-ferrier commented 8 months ago

Description

Place is a record that used to exist in the system. We still have lots of references to it that are now pointed at partners, which makes understanding the flow of the system confusing at times. It would be really helpful for my own comprehension if we could rename these attributes to better reflect the models they are actually referencing.

kimadactyl commented 2 months ago

Events can have Places, which are references to Partners. This is so that Events can have both a "promoter" and "venue" distinction, when the venue exists within PlaceCal.

This was less confusing when Partners and Places were separate things in the code base but now yeah is very confusing.

Before starting this we should define desired functionality again.