diff options
| author | gowthamk63 <gowthamk63@gmail.com> | 2020-03-11 15:14:50 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-19 11:48:10 +0100 |
| commit | 142ab6846ac09d6d401e26fc8b6b988a583ac0f5 (patch) | |
| tree | d12a79a5db7e68efc7449ce85e3339c20f60f2af /docs | |
| parent | 13993e0f38d5f272236887ef22b491eb1b20dce9 (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')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 | ||||
| -rw-r--r-- | docs/releases/3.1.txt | 4 |
2 files changed, 10 insertions, 1 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`` ---------------------- diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index efc57e8d01..77a71bbc43 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -99,7 +99,9 @@ Minor features :mod:`django.contrib.contenttypes` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* ... +* The new :option:`remove_stale_contenttypes --include-stale-apps` option + allows removing stale content types from previously installed apps that have + been removed from :setting:`INSTALLED_APPS`. :mod:`django.contrib.gis` ~~~~~~~~~~~~~~~~~~~~~~~~~ |
