  keyword arguments, or the corresponding attributes on the ``ModelForm`` inner
  ``Meta`` class. Please see the ``ModelForm`` :ref:`modelforms-selecting-fields`
  documentation.
  
  ... or enable localization for specific fields::
  
      >>> Form = modelform_factory(Author, form=AuthorForm, localized_fields=["birth_date"])
  
  .. _model-formsets:
  
 
</s> remove phrases::
 </s> add phrases:

.. code-block:: javascript </s> remove         >>> wkt = 'GEOGCS["WGS 84", DATUM["WGS_1984, ... AUTHORITY["EPSG","4326"]]')
 </s> add         >>> wkt = 'GEOGCS["WGS 84", DATUM["WGS_1984, ... AUTHORITY["EPSG","4326"]]' </s> remove This results in the error::
 </s> add This results in the error:

.. code-block:: pytb </s> remove     >>>     avg_rating=Window(
    >>>         expression=Avg('rating'),
    >>>         partition_by=[F('studio'), F('genre')],
    >>>         order_by='released__year',
    >>>     ),
    >>> )
 </s> add     ...     avg_rating=Window(
    ...         expression=Avg('rating'),
    ...         partition_by=[F('studio'), F('genre')],
    ...         order_by='released__year',
    ...     ),
    ... ) </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),
    ...     ),
    ... )
... or enable localization for specific fields:

.. code-block:: pycon
  keyword arguments, or the corresponding attributes on the ``ModelForm`` inner
  ``Meta`` class. Please see the ``ModelForm`` :ref:`modelforms-selecting-fields`
  documentation.
  
... or enable localization for specific fields:

.. code-block:: pycon
  
      >>> Form = modelform_factory(Author, form=AuthorForm, localized_fields=["birth_date"])
  
  .. _model-formsets:
  
keep keep keep keep replace keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/topics/forms/modelforms.txt