diff options
| author | Tai Lee <tai.lee@3030.com.au> | 2012-08-01 11:49:01 +1000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-11 12:52:57 -0400 |
| commit | e527c0b6d808cb8e4bedf79ded3dc4ad1a7e17a8 (patch) | |
| tree | 473c6c9585d87654c0ff868ec900438ec07af363 /docs/internals | |
| parent | 945e033a6964c8c83c1c5ce5f188baf41a7a7701 (diff) | |
Fixed #13252 -- Added ability to serialize with natural primary keys.
Added ``--natural-foreign`` and ``--natural-primary`` options and
deprecated the ``--natural`` option to the ``dumpdata`` management
command.
Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys``
arguments and deprecated the ``use_natural_keys`` argument to
``django.core.serializers.Serializer.serialize()``.
Thanks SmileyChris for the suggestion.
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/deprecation.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 498f303daf..a965627a1c 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -461,6 +461,12 @@ these changes. ``BaseMemcachedCache._get_memcache_timeout()`` method to ``get_backend_timeout()``. +* The ``--natural`` and ``-n`` options for :djadmin:`dumpdata` will be removed. + Use :djadminopt:`--natural-foreign` instead. + +* The ``use_natural_keys`` argument for ``serializers.serialize()`` will be + removed. Use ``use_natural_foreign_keys`` instead. + 2.0 --- |
