mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #15579 -- Added ability to delete only child models in multi-table inheritance.
This commit is contained in:
committed by
Tim Graham
parent
b9cb81570e
commit
81c2d9f60b
@@ -151,6 +151,10 @@ Models
|
||||
managers created by ``ForeignKey``, ``GenericForeignKey``, and
|
||||
``ManyToManyField``.
|
||||
|
||||
* Added the ``keep_parents`` parameter to :meth:`Model.delete()
|
||||
<django.db.models.Model.delete>` to allow deleting only a child's data in a
|
||||
model that uses multi-table inheritance.
|
||||
|
||||
CSRF
|
||||
^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user