Open Neecolaa opened 3 weeks ago
I want to note that when we name a ForeignKey field something like "user", Django will create a database column called "user_id". It's Django's convention to drop the "_id" from the end when converting from db to Django code.
These screenshots illustrate how ForeignKey fields in Django actually turn into db columns with "_id" endings
I can find a link to a better description of this when I'm on a computer.
event
has a field called brigade_id
that's commented out, but will need to be changed to org_id
Please provide update
Overview
There are field names in the code that do not currently match our documentation. We need to go through the existing django models, identify the mismatches, and update the code or documentation to comply with our desired naming conventions.
Action Items
Resources/Instructions
1.01 Code locations
1.02 People Depot Resources wiki page for links