Permalink
Browse files

Mentioned that ``dumpdata --natural`` is deprecated.

  • Loading branch information...
blueyed authored and timgraham committed Mar 17, 2014
1 parent 61296fb commit fc167c9b5ee958019b3f95916c93b97ecb0e1053
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management/commands/dumpdata.py
@@ -24,7 +24,7 @@ class Command(BaseCommand):
help='An app_label or app_label.ModelName to exclude '
'(use multiple --exclude to exclude multiple apps/models).'),
make_option('-n', '--natural', action='store_true', dest='use_natural_keys', default=False,
- help='Use natural keys if they are available.'),
+ help='Use natural keys if they are available (deprecated: use --natural-foreign instead).'),
make_option('--natural-foreign', action='store_true', dest='use_natural_foreign_keys', default=False,
help='Use natural foreign keys if they are available.'),
make_option('--natural-primary', action='store_true', dest='use_natural_primary_keys', default=False,

0 comments on commit fc167c9

Please sign in to comment.