Remove Reverse Lookups on ForeignKeys/ManyToMany
|Reported by:||David Cramer||Owned by:||nobody|
|Cc:||Joel Watts||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
There should be way to remove the addition of a property on models for doing reverse lookups.
Say I have a minor table, that holds statistical information, and it has rows per user. I will never use myuser.statistical_table.all(), so it makes sense to have a way to tell it to not append that object to the instances.
Change History (17)
comment:11 Changed 7 years ago by
|Component:||Database layer (models, ORM) → Documentation|
|Triage Stage:||Design decision needed → Accepted|