mirror of
https://github.com/django/django.git
synced 2025-03-29 02:30:48 +00:00
Mentioned that `dumpdata --natural
` is deprecated.
This commit is contained in:
parent
61296fb1ba
commit
fc167c9b5e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user