Author: russellm
Date: 2007-09-09 21:07:57 -0500 (Sun, 09 Sep 2007)
New Revision: 6081
Modified:
django/trunk/django/core/management/commands/dumpdata.py
Log:
Fixed #5375 -- Added base command options to the options registered against
dumpdata. Thanks for the fix, Matthew Flanagan <[EMAIL PROTECTED]>.
Modified: django/trunk/django/core/management/commands/dumpdata.py
===================================================================
--- django/trunk/django/core/management/commands/dumpdata.py 2007-09-10
00:27:48 UTC (rev 6080)
+++ django/trunk/django/core/management/commands/dumpdata.py 2007-09-10
02:07:57 UTC (rev 6081)
@@ -3,7 +3,7 @@
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',
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---