Referencing a ForeignKey raw value doesn't follow convention
When we want to look up a ForeignKey via a filter, but don't know the name of the Primary Key field, we use Model.objects.filter(pk=lookup_value)
But when we're getting the raw value of a ForeignKey, we use model_instance.foreignkey_id
Surely it should be foreignkey_pk in line with the filter?
Change History (1)
Patch needs improvement
set to invalid
changed from new to closed