#36106: Exclude option for the "flush" django-admin command
-------------------------------------+-------------------------------------
Reporter: dZlatanovski | Type: New
| feature
Status: new | Component: Core
| (Management commands)
Version: 5.1 | Severity: Normal
Keywords: Flush | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
An exclude option for the "flush" django-admin command could be useful in
certain cases where we have tables that have been filled with data
migrations.
Since flush just deletes the data but leaves the migrations untouched,
having an exclude option where a user could provide a list of table names
to be excluded can come in handy.
Example: Country table that has been filled with data using a data
migration. Every time we run flush we might want to exclude this table
from flushing.
--
Ticket URL: <https://code.djangoproject.com/ticket/36106>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070194745af237-842693ae-a965-4cc3-8cd5-adfceef832aa-000000%40eu-central-1.amazonses.com.