Commit 3d849047 authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
Browse files

Fixed #12840: mark natural key serialization in the docs as new in 1.2. Thanks, ramiro.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 1d078be4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -196,6 +196,10 @@ them. Something like this will work::
Natural keys
------------

.. versionadded:: 1.2
   The ability to use natural keys when serializing/deserializing data was
   added in the 1.2 release.

The default serialization strategy for foreign keys and many-to-many
relations is to serialize the value of the primary key(s) of the
objects in the relation. This strategy works well for most types of