diff options
| author | Daniel Hahler <git@thequod.de> | 2014-03-17 18:50:31 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-18 07:25:37 -0400 |
| commit | fc167c9b5ee958019b3f95916c93b97ecb0e1053 (patch) | |
| tree | a9bf2c9f974095cb84af4f460f8fa3ab35959e83 | |
| parent | 61296fb1baabe616c74091dcae9d4f2f6ba6dda6 (diff) | |
Mentioned that ``dumpdata --natural`` is deprecated.
| -rw-r--r-- | django/core/management/commands/dumpdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/dumpdata.py b/django/core/management/commands/dumpdata.py index ae93e34e48..827f2b6c50 100644 --- a/django/core/management/commands/dumpdata.py +++ b/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, |
