#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 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 }}} -- Ticket URL: <https://code.djangoproject.com/ticket/28677#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/074.1e6c6d1d6362277a0d2f403b85f2c6aa%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.