Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made correction to documentation change from [11045].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b836ed46665c99228f2f4109139296f8e48551d0 1 parent 755762e
Russell Keith-Magee authored June 18, 2009

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

  1. 6  docs/topics/db/queries.txt
6  docs/topics/db/queries.txt
@@ -946,15 +946,13 @@ in the :ref:`related objects reference <ref-models-relations>`.
946 946
 
947 947
 To assign the members of a related set in one fell swoop, just assign to it
948 948
 from any iterable object. The iterable can contain object instances, or just
949  
-a list of primary key values. For Example::
950  
-
951  
-Example::
  949
+a list of primary key values. For example::
952 950
 
953 951
     b = Blog.objects.get(id=1)
954 952
     b.entry_set = [e1, e2]
955 953
 
956 954
 In this example, ``e1`` and ``e2`` can be full Entry instances, or integer
957  
-values representing primary keys.
  955
+primary key values.
958 956
 
959 957
 If the ``clear()`` method is available, any pre-existing objects will be
960 958
 removed from the ``entry_set`` before all objects in the iterable (in this

0 notes on commit b836ed4

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