      >>> new_list = [obj1, obj2, obj3]
      >>> e.related_set = new_list
  
  Use the :meth:`~django.db.models.fields.related.RelatedManager.set` method
  added in Django 1.9::
  
          >>> e.related_set.set([obj1, obj2, obj3])
  
  This prevents confusion about an assignment resulting in an implicit save.
  
 
</s> remove Instead of assigning related objects using direct assignment::
 </s> add Instead of assigning related objects using direct assignment:

.. code-block:: pycon </s> remove Django 1.8 added validation for non-relational fields in ``select_related()``::
 </s> add Django 1.8 added validation for non-relational fields in ``select_related()``:

.. code-block:: pycon </s> remove .. code-block:: pycon
 </s> add .. code-block:: text </s> remove     >>>     avg_rating=Window(
    >>>         expression=Avg('rating'),
    >>>         partition_by=[F('studio'), F('genre')],
    >>>         order_by='released__year',
    >>>         frame=RowRange(start=-2, end=2),
    >>>     ),
    >>> )
 </s> add     ...     avg_rating=Window(
    ...         expression=Avg('rating'),
    ...         partition_by=[F('studio'), F('genre')],
    ...         order_by='released__year',
    ...         frame=RowRange(start=-2, end=2),
    ...     ),
    ... ) </s> remove         >>> wkt = 'GEOGCS["WGS 84", DATUM["WGS_1984, ... AUTHORITY["EPSG","4326"]]')
 </s> add         >>> wkt = 'GEOGCS["WGS 84", DATUM["WGS_1984, ... AUTHORITY["EPSG","4326"]]'
added in Django 1.9:

.. code-block:: pycon
      >>> new_list = [obj1, obj2, obj3]
      >>> e.related_set = new_list
  
  Use the :meth:`~django.db.models.fields.related.RelatedManager.set` method
added in Django 1.9:

.. code-block:: pycon
  
          >>> e.related_set.set([obj1, obj2, obj3])
  
  This prevents confusion about an assignment resulting in an implicit save.
  
keep keep keep keep replace keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/releases/1.10.txt