diff options
| author | Tim Graham <timograham@gmail.com> | 2017-10-03 09:42:05 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-10-03 09:46:15 -0400 |
| commit | 491eb56fd4dea10248ccced90c31ed64152d09cb (patch) | |
| tree | 1929949fdac3ae1e32b0b1452b0d536e8e27868e /docs/releases/2.0.txt | |
| parent | 4e725c647ff69a6630062f17b00c3161d2330dd8 (diff) | |
Refs #28677 -- Doc'd that on_delete is required in migrations.
Diffstat (limited to 'docs/releases/2.0.txt')
| -rw-r--r-- | docs/releases/2.0.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index 6a06929275..ad48cf5790 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -681,8 +681,9 @@ these features. * ``Field.rel`` and ``Field.remote_field.to`` are removed. -* The ``on_delete`` argument for ``ForeignKey`` and ``OneToOneField`` are now - required. +* The ``on_delete`` argument for ``ForeignKey`` and ``OneToOneField`` is now + required in models and migrations. Consider squashing migrations so that you + have less of them to update. * ``django.db.models.fields.add_lazy_relation()`` is removed. |
