#28677: on_delete is a required positional argument for ForeignKeys, even in
migrations
-------------------------------------+-------------------------------------
Reporter: Christian | Owner: nobody
Kreuzberger |
Type: Bug | Status: closed
Component: Migrations | Version: 2.0
Severity: Normal | Resolution: invalid
Keywords: migration | Triage Stage:
foreignkey on_delete | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Christian Kreuzberger):
Replying to [comment:3 Tim Graham <timograham@…>]:
> In [changeset:"cfde4ac3e7f2595c060be59bddf6daabbbc9e4c3" cfde4ac3]:
> {{{
> #!CommitTicketReference repository=""
revision="cfde4ac3e7f2595c060be59bddf6daabbbc9e4c3"
> [2.0.x] Refs #28677 -- Doc'd that on_delete is required in migrations.
>
> Backport of 491eb56fd4dea10248ccced90c31ed64152d09cb from master
> }}}
Thanks for clarifying, and thank you for adding this to the documentation!
--
Ticket URL: <https://code.djangoproject.com/ticket/28677#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/074.6abfb2b851997d2e35dda5ccf9852c73%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.