У меня есть таблица с двумя внешними ключами на другой стол. Таблица Validation_Run имеет 2 внешних ключа для Calibration_Run. Джанго жалуется, что обратная связь имеет конфликт
Код: Выделить всё
calibration.ValidationRun.calibration_run_pk: (fields.E304) Reverse accessor 'CalibrationRun.validationrun_set' for 'calibration.ValidationRun.calibration_run_pk' clashes with reverse accessor for 'calibration.ValidationRun.calibration_run_pk_tune_parameters'. HINT: Add or change a related_name argument to the definition for 'calibration.ValidationRun.calibration_run_pk' or 'calibration.ValidationRun.calibration_run_pk_tune_parameters'.
Подробнее здесь: https://stackoverflow.com/questions/786 ... -in-django