Code

Ticket #16477: dumpdata-database-help.diff

File dumpdata-database-help.diff, 1.1 KB (added by charettes, 3 years ago)
Line 
1Index: django/core/management/commands/dumpdata.py
2===================================================================
3--- django/core/management/commands/dumpdata.py (révision 16544)
4+++ django/core/management/commands/dumpdata.py (copie de travail)
5@@ -13,8 +13,8 @@
6         make_option('--indent', default=None, dest='indent', type='int',
7             help='Specifies the indent level to use when pretty-printing output'),
8         make_option('--database', action='store', dest='database',
9-            default=DEFAULT_DB_ALIAS, help='Nominates a specific database to load '
10-                'fixtures into. Defaults to the "default" database.'),
11+            default=DEFAULT_DB_ALIAS, help='Nominates a specific database to dump '
12+                'fixtures from. Defaults to the "default" database.'),
13         make_option('-e', '--exclude', dest='exclude',action='append', default=[],
14             help='An appname or appname.ModelName to exclude (use multiple --exclude to exclude multiple apps/models).'),
15         make_option('-n', '--natural', action='store_true', dest='use_natural_keys', default=False,