  
  * **sites.E001**: ``CurrentSiteManager`` could not find a field named
    ``<field name>``.
  * **sites.E002**: ``CurrentSiteManager`` cannot use ``<field>`` as it is not a
    ``ForeignKey`` or ``ManyToManyField``.
  
  Database
  --------
  
  MySQL
 
</s> remove   ``<field name>``, which must not be a ``DateTimeField``, ``ForeignKey`` or
  ``ManyToManyField``.
 </s> add   ``<field name>``, which must not be a ``DateTimeField``, a foreign key or a
  many-to-many field. </s> remove   be a ``ManyToManyField``.
 </s> add   be a many-to-many field. </s> remove * **admin.E003**: The value of ``raw_id_fields[n]`` must be a ``ForeignKey`` or
  ``ManyToManyField``.
 </s> add * **admin.E003**: The value of ``raw_id_fields[n]`` must be a foreign key or
  a many-to-many field. </s> remove                     "CurrentSiteManager cannot use '%s.%s' as it is not a ForeignKey or ManyToManyField." % (
 </s> add                     "CurrentSiteManager cannot use '%s.%s' as it is not a foreign key or a many-to-many field." % ( </s> remove   ``ManyToManyField``.
 </s> add   many-to-many field.
  foreign key or a many-to-many field.
  
  * **sites.E001**: ``CurrentSiteManager`` could not find a field named
    ``<field name>``.
  * **sites.E002**: ``CurrentSiteManager`` cannot use ``<field>`` as it is not a
  foreign key or a many-to-many field.
  
  Database
  --------
  
  MySQL
keep keep keep keep replace keep keep keep keep keep
 Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many

Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews. 
docs/ref/checks.txt