When multiple kinetic models use the same thermodynamic polynomials for the same species (happens a LOT, everyone just copies each other) then they should point to the same Thermo object in the database.
This means each Thermo object may be linked to multiple KineticModel objects.
Currently the ThermoDetail view has
kinetic_model = KineticModel.objects.get(thermo=thermo)
which suggests it's expecting only one.
Probably template needs fixing as well, to cope with a list.
I'm not sure what other consequences this will have.
When multiple kinetic models use the same thermodynamic polynomials for the same species (happens a LOT, everyone just copies each other) then they should point to the same Thermo object in the database.
This means each Thermo object may be linked to multiple KineticModel objects.
Currently the ThermoDetail view has
kinetic_model = KineticModel.objects.get(thermo=thermo)
which suggests it's expecting only one. Probably template needs fixing as well, to cope with a list. I'm not sure what other consequences this will have.