Opened 8 years ago

Closed 5 years ago

#8429 closed New feature (duplicate)

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

Reported by: erikcw Owned by: nobody
Component: Core (Management commands) Version: master
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 8 years ago by mtredinnick

  • milestone changed from 1.0 maybe to post-1.0
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 8 years ago by adrian

  • Component changed from Tools to

comment:3 Changed 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:4 Changed 5 years ago by lukeplant

  • Severity set to Normal
  • Type set to New feature

comment:5 Changed 5 years ago by aaugustin

  • Easy pickings unset
  • Triage Stage changed from Design decision needed to Accepted
  • UI/UX unset

comment:6 Changed 5 years ago by aaugustin

  • Resolution set to duplicate
  • Status changed from new to 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.
Back to Top