mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24865 -- Added remove_stale_contenttypes management command.
Thanks Simon Charette for the review.
This commit is contained in:
@@ -104,9 +104,11 @@ Minor features
|
||||
:mod:`django.contrib.contenttypes`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* When stale content types are detected after the ``migrate`` command, there's
|
||||
now a list of related objects such as ``auth.Permission``\s that will also be
|
||||
deleted. Previously, only the content types were listed.
|
||||
* When stale content types are detected in the
|
||||
:djadmin:`remove_stale_contenttypes` command, there's now a list of related
|
||||
objects such as ``auth.Permission``\s that will also be deleted. Previously,
|
||||
only the content types were listed (and this prompt was after ``migrate``
|
||||
rather than in a separate command).
|
||||
|
||||
:mod:`django.contrib.gis`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -477,6 +479,10 @@ Miscellaneous
|
||||
be backwards-incompatible if you have some :ref:`template tags that aren't
|
||||
thread safe <template_tag_thread_safety>`.
|
||||
|
||||
* The prompt for stale content type deletion no longer occurs after running the
|
||||
``migrate`` command. Use the new :djadmin:`remove_stale_contenttypes` command
|
||||
instead.
|
||||
|
||||
.. _deprecated-features-1.11:
|
||||
|
||||
Features deprecated in 1.11
|
||||
|
||||
Reference in New Issue
Block a user