#31112: Schema Editor's add_field does not append "_id" to the foreign key
column
-------------------------------------+-------------------------------------
Reporter: Akash | Owner: nobody
Agrawal |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 2.2
layer (models, ORM) | Keywords: Schema Editor,
Severity: Normal | ForeignKey
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
While adding a new field via schema editor, I have to specifically add
"_id" to the ForeignKey's column attribute. But when we create a foreign
key normally, Django automatically adds this.
--
Ticket URL: <https://code.djangoproject.com/ticket/31112>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.7ebd3c73d007802b682b4fde33986d04%40djangoproject.com.