Changes between Version 1 and Version 3 of Ticket #28867
- Timestamp:
- Dec 27, 2017, 11:39:32 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28867
- Property Component Uncategorized → Core (System checks)
- Property Triage Stage Unreviewed → Accepted
- Property Summary UX: Unhelpful AttributeError when a model property name ends with a `_id` → Add a system check for a model property name that clashes with a foreign key id accessor
- Property Type Bug → Cleanup/optimization
- Property UI/UX unset
-
Ticket #28867 – Description
v1 v3 19 19 pass 20 20 21 Class Bar(model.Modal):22 foo = models.F K(Foo)21 class Bar(models.Model): 22 foo = models.ForeignKey(Foo) 23 23 24 @property 24 @property 25 25 def foo_id(self): 26 26 return self.foo.id