Changes between Initial Version and Version 1 of Ticket #28867


Ignore:
Timestamp:
Nov 30, 2017, 11:21:36 AM (7 years ago)
Author:
Michael
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28867 – Description

    initial v1  
    11**Summary**
    22
    3 Given a model with an FK field "foo", it would be helpful if Django warned users when they include a property in a model named  "foo_id" in the same model.
     3Given a model with a foreign key field "foo", it would be helpful if Django warned users when they include a property in the model named  "foo_id" in the same model.
    44
    55**Steps To Reproduce**
    6 - Implement a model relationship that looks like Exhibit A
    7 - Create an instance using .create or FactoryBoy.
     6- Implement a relationship that looks like Exhibit A
     7- Create an instance of `Bar` using .create or FactoryBoy.
    88- Observe the following stack trace that occurs in Exhibit B
    99
Back to Top