django-fixture-magic
django-fixture-magic copied to clipboard
dump_object args parsing problem
Django==1.8.18
Running ./manage.py dump_object declarations.section 25976
, getting error:
CommandError: object_class must be provided in the following format: app_name.model_name
Try calling dump_object with --help argument or use the following arguments:
<[--kitchensink | -k] [--natural] [--query] object_class id [id ...]>
Investigated problem, and solved by defining named --ids argument (dump_object.py:30):
parser.add_argument('--ids', dest='ids', default=None, nargs='*',
help='Use a list of ids e.g. 0 1 2 3')