Re: [Django] #35123: Migrate prune for apps that are deleted

3 views
Skip to first unread message

Django

unread,
Jan 18, 2024, 7:31:20 AM1/18/24
to django-...@googlegroups.com
#35123: Migrate prune for apps that are deleted
-------------------------------------+-------------------------------------
Reporter: smoeinbbp | Owner: nobody
Type: New feature | Status: closed
Component: Core (Management | Version: 4.2
commands) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => wontfix


Comment:

Pruning migrations for removed apps is not really important. On the
contrary, personally, I'd prefer to keep them. If you really want to do
this you can always use `--prune` before removing an app from
`INSTALLED_APPS`. Generally, management commands (and probably any other
components) don't support operations on removed apps (except
`remove_stale_contenttypes --include-stale-apps` but it's a different
story). It's not worth adding complexity.

--
Ticket URL: <https://code.djangoproject.com/ticket/35123#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages