From e527c0b6d808cb8e4bedf79ded3dc4ad1a7e17a8 Mon Sep 17 00:00:00 2001 From: Tai Lee Date: Wed, 1 Aug 2012 11:49:01 +1000 Subject: 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. --- docs/internals/deprecation.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/internals') 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 --- -- cgit v1.3