Fixed #31123 -- Added --include-stale-apps option to the remove_stale_contenttypes management command.

Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com>
This commit is contained in:
gowthamk63 2020-03-11 15:14:50 -04:00 committed by Mariusz Felisiak
parent 13993e0f38
commit 142ab6846a
4 changed files with 67 additions and 14 deletions

View file

@ -1651,6 +1651,13 @@ the deletion.
Specifies the database to use. Defaults to ``default``.
.. django-admin-option:: --include-stale-apps
.. versionadded:: 3.1
Deletes stale content types including ones from previously installed apps that
have been removed from :setting:`INSTALLED_APPS`. Defaults to ``False``.
``django.contrib.gis``
----------------------