Changes between Initial Version and Version 1 of Ticket #34250, comment 4
- Timestamp:
- Jan 14, 2023, 3:42:35 AM (23 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34250, comment 4
initial v1 8 8 The problem is caused in renaming fields of m2m model [https://github.com/django/django/blob/main/django/db/models/fields/related.py#L1258 here.] 9 9 10 One proposed solutioncan 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}}}.10 One 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}}}. 11 11 12 12 Feel free to share if anyone has a better solution. Thanks!