* cc: cmawebsite@… (added)
Comment:
We're moving in the direction of having two distinct fields here. One
that's simply an "id" field, and one that's the ForeignKey. This would
control the name of the underlying field.
--
Ticket URL: <https://code.djangoproject.com/ticket/11265#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: elonzh (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/11265#comment:9>
Comment (by elonzh):
This is funny, I have a model `Biblio` with a `issn` field, someday I
created a new model `IssnIndexedData` with `issn` as primary key.
I want to join `IssnIndexedData` but it can not be done unless I add a
logic Foreignkey `issn_indexed_data` with `db_column="issn"` to `Biblio`.
(See https://code.djangoproject.com/ticket/29262)
Fine, I just make a fake migration to make Django happy.
But wait! The `attname` is hard coded and I can't use `Biblio.issn`
anymore...
--
Ticket URL: <https://code.djangoproject.com/ticket/11265#comment:10>