Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Edited serialization.txt changes from [17355]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17427 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 00227b65296da44404b2b6c60a753142a967e46d 1 parent 20106af
Adrian Holovaty authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/serialization.txt
4  docs/topics/serialization.txt
@@ -373,7 +373,7 @@ Dependencies during serialization
373 373
 
374 374
 Since natural keys rely on database lookups to resolve references, it
375 375
 is important that the data exists before it is referenced. You can't make
376  
-a `forward reference` with natural keys--the data you are referencing
  376
+a `forward reference` with natural keys -- the data you're referencing
377 377
 must exist before you include a natural key reference to that data.
378 378
 
379 379
 To accommodate this limitation, calls to :djadmin:`dumpdata` that use
@@ -401,7 +401,7 @@ example above::
401 401
             return (self.name,) + self.author.natural_key()
402 402
 
403 403
 The natural key for a ``Book`` is a combination of its name and its
404  
-author.  This means that ``Person`` must be serialized before ``Book``.
  404
+author. This means that ``Person`` must be serialized before ``Book``.
405 405
 To define this dependency, we add one extra line::
406 406
 
407 407
         def natural_key(self):

0 notes on commit 00227b6

Please sign in to comment.
Something went wrong with that request. Please try again.