Opened 14 years ago

Closed 11 years ago

#8429 closed New feature (duplicate)

Option to restrict --dumpdata to a subset of records.

Reported by: ErikW Owned by: nobody
Component: Core (Management commands) Version: dev
Severity: Normal Keywords:, dumpdata
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I'd like to suggest being able to limit the output of --dumpdata to a "slice" of records. For example ./ --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 Changed 14 years ago by Malcolm Tredinnick

milestone: 1.0 maybepost-1.0
Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 14 years ago by Adrian Holovaty


comment:3 Changed 14 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

comment:4 Changed 11 years ago by Luke Plant

Severity: Normal
Type: New feature

comment:5 Changed 11 years ago by Aymeric Augustin

Easy pickings: unset
Triage Stage: Design decision neededAccepted
UI/UX: unset

comment:6 Changed 11 years ago by Aymeric Augustin

Resolution: duplicate
Status: newclosed

Closing in favor of #16330 which is exactly the same feature request and has a patch.

Note: See TracTickets for help on using tickets.
Back to Top