Changes between Initial Version and Version 1 of Ticket #34250, comment 4


Ignore:
Timestamp:
Jan 14, 2023, 3:42:35 AM (23 months ago)
Author:
Bhuvnesh

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34250, comment 4

    initial v1  
    88The problem is caused in renaming fields of m2m model [https://github.com/django/django/blob/main/django/db/models/fields/related.py#L1258 here.]
    99
    10 One proposed solution can be checking app names + model name together and if model names are same but apps are different the name of fields can be (like in above case) {{{incident_id}}} and {{{incidents_incident_id}}}.
     10One of the solutions can be checking app names + model name together and if model names are same but apps are different the name of fields can be (like in above case) {{{incident_id}}} and {{{incidents_incident_id}}}.
    1111
    1212Feel free to share if anyone has a better solution. Thanks!
Back to Top