          with self.assertWarnsMessage(RemovedInDjangoXXWarning, msg):
              # invoke deprecated behavior
  
  Finally, there are a couple of updates to Django's documentation to make:
  
  #) If the existing feature is documented, mark it deprecated in documentation
     using the ``.. deprecated:: A.B`` annotation. Include a short description
 
</s> remove     ),
 </s> add     ) </s> remove like so::
 </s> add like so:

.. code-block:: pycon </s> remove             ...
 </s> add             # ... </s> remove in model ``Bar``, instead of using the model name ``bar`` as the lookup::
 </s> add in model ``Bar``, instead of using the model name ``bar`` as the lookup:

.. code-block:: pycon </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
            ...
          with self.assertWarnsMessage(RemovedInDjangoXXWarning, msg):
              # invoke deprecated behavior
            ...
  
  Finally, there are a couple of updates to Django's documentation to make:
  
  #) If the existing feature is documented, mark it deprecated in documentation
     using the ``.. deprecated:: A.B`` annotation. Include a short description
keep add keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/internals/contributing/writing-code/submitting-patches.txt