Changes between Version 1 and Version 3 of Ticket #28867


Ignore:
Timestamp:
Dec 27, 2017, 11:39:32 PM (6 years ago)
Author:
shangdahao
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28867

    • Property Component UncategorizedCore (System checks)
    • Property Triage Stage UnreviewedAccepted
    • 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 BugCleanup/optimization
    • Property UI/UX unset
  • Ticket #28867 – Description

    v1 v3  
    1919  pass
    2020
    21 Class Bar(model.Modal):
    22   foo = models.FK(Foo)
     21class Bar(models.Model):
     22  foo = models.ForeignKey(Foo)
    2323
    24   @property 
     24  @property
    2525  def foo_id(self):
    2626    return self.foo.id
Back to Top