<Media>Decision
many-to-many table should reference the media's identifier
column, not id
#4286
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: api
Related to the Django API
🔧 tech: django
Involves Django
Milestone
Description
This was originally raised in #4254, and expanded in @sarayourfriend's comment: #4254 (comment)
We will want to change the
<Media>Decision
models to reference the media'sidentifier
field rather thanid
in the references. Theto_field
attribute suggested is not available onField
s, so we'll need to take a different approach. This may require using an explicit table definition.The text was updated successfully, but these errors were encountered: