        hyphen prefix on the field name. Using the above example, this would look
        like::
  
            @admin.display(ordering='-first_name')
  
        The ``ordering`` argument supports query lookups to sort by values on
        related models. This example includes an "author first name" column in
        the list display and allows sorting it by first name::
  
 
</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 like so::
 </s> add like so:

.. code-block:: pycon </s> remove         # ...
 </s> add         ... </s> remove :class:`~django.contrib.auth.models.User` object is a string in this format::
 </s> add :class:`~django.contrib.auth.models.User` object is a string in this format:

.. code-block:: text </s> remove     * Both sides of a :class:`~django.db.models.ManyToManyField` relation::
 </s> add     * Both sides of a :class:`~django.db.models.ManyToManyField` relation
      ::
          def colored_first_name(self):
              ...
        hyphen prefix on the field name. Using the above example, this would look
        like::
  
            @admin.display(ordering='-first_name')
          def colored_first_name(self):
              ...
  
        The ``ordering`` argument supports query lookups to sort by values on
        related models. This example includes an "author first name" column in
        the list display and allows sorting it by first name::
  
keep keep keep add keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/ref/contrib/admin/index.txt