summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorgowthamk63 <gowthamk63@gmail.com>2020-03-11 15:14:50 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-19 11:48:10 +0100
commit142ab6846ac09d6d401e26fc8b6b988a583ac0f5 (patch)
treed12a79a5db7e68efc7449ce85e3339c20f60f2af /docs/ref
parent13993e0f38d5f272236887ef22b491eb1b20dce9 (diff)
Fixed #31123 -- Added --include-stale-apps option to the remove_stale_contenttypes management command.
Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com>
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index a5ef671e26..56358b4ef8 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -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``
----------------------