Fixed #5375 -- Added base command options to the options registered against dumpdata. Thanks for the fix, Matthew Flanagan <mattimustang@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3a3669e010
commit
3b6f032850
|
@ -3,7 +3,7 @@ from django.core.management.base import BaseCommand, CommandError
|
|||
from optparse import make_option
|
||||
|
||||
class Command(BaseCommand):
|
||||
option_list = (
|
||||
option_list = BaseCommand.option_list + (
|
||||
make_option('--format', default='json', dest='format',
|
||||
help='Specifies the output serialization format for fixtures'),
|
||||
make_option('--indent', default=None, dest='indent', type='int',
|
||||
|
|
Loading…
Reference in New Issue