Code

Ticket #13253: dumpdata_help_bugfix.diff

File dumpdata_help_bugfix.diff, 764 bytes (added by arowla, 4 years ago)
Line 
1Index: django/core/management/commands/dumpdata.py
2===================================================================
3--- django/core/management/commands/dumpdata.py (revision 12890)
4+++ django/core/management/commands/dumpdata.py (working copy)
5@@ -21,7 +21,7 @@
6             help='Use natural keys if they are available.'),
7     )
8     help = 'Output the contents of the database as a fixture of the given format.'
9-    args = '[appname ...]'
10+    args = '[appname[.modelname] ...]'
11 
12     def handle(self, *app_labels, **options):
13         from django.db.models import get_app, get_apps, get_models, get_model
14@@ -163,4 +163,4 @@
15             )
16         model_dependencies = skipped
17 
18-    return model_list
19\ No newline at end of file
20+    return model_list
21