Opened 16 years ago
Closed 13 years ago
#8429 closed New feature (duplicate)
Option to restrict django-admin.py --dumpdata to a subset of records.
Reported by: | ErikW | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Normal | Keywords: | django-admin.py, dumpdata |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'd like to suggest being able to limit the output of django-admin.py --dumpdata to a "slice" of records. For example ./manage.py --dumpdata app [10:100]
This would be super handy for exporting test-data from large data-sets for unit testing....
Change History (6)
comment:1 by , 16 years ago
milestone: | 1.0 maybe → post-1.0 |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 16 years ago
Component: | Tools → django-admin.py |
---|
comment:3 by , 16 years ago
milestone: | post-1.0 |
---|
comment:4 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:5 by , 13 years ago
Easy pickings: | unset |
---|---|
Triage Stage: | Design decision needed → Accepted |
UI/UX: | unset |
comment:6 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closing in favor of #16330 which is exactly the same feature request and has a patch.
Note:
See TracTickets
for help on using tickets.
Milestone post-1.0 deleted