  
  .. versionadded:: 1.2
     This method was factored out of ``get_db_prep_lookup()``
  
  :meth:`get_prep_lookup` performs the first phase of lookup preparation,
  performing generic data validity checks
  
  Prepares the ``value`` for passing to the database when used in a lookup (a
  ``WHERE`` constraint in SQL). The ``lookup_type`` will be one of the valid
  Django filter lookups: ``exact``, ``iexact``, ``contains``, ``icontains``,
 
</s> remove .. method:: get_prep_lookup(self, lookup_type, value)
 </s> add .. method:: Field.get_prep_lookup(self, lookup_type, value) </s> remove This is the reverse of :meth:`to_python` when working with the
 </s> add This is the reverse of :meth:`.to_python` when working with the </s> remove and pass the rest to the :meth:`get_db_prep_lookup` method of the parent class.
 </s> add and pass the rest to the :meth:`.get_db_prep_lookup` method of the parent class. </s> remove .. method:: get_prep_value(self, value)
 </s> add .. method:: Field.get_prep_value(self, value) </s> remove :meth:`db_type`. This will cause Django's SQL creation code to skip over this
field. You are then responsible for creating the column in the right table in
some other way, of course, but this gives you a way to tell Django to get out of
the way.
 </s> add :meth:`.db_type`. This will cause Django's SQL creation code to skip
over this field. You are then responsible for creating the column in the right
table in some other way, of course, but this gives you a way to tell Django to
get out of the way.
:meth:`.get_prep_lookup` performs the first phase of lookup preparation,
  
  .. versionadded:: 1.2
     This method was factored out of ``get_db_prep_lookup()``
  
:meth:`.get_prep_lookup` performs the first phase of lookup preparation,
  performing generic data validity checks
  
  Prepares the ``value`` for passing to the database when used in a lookup (a
  ``WHERE`` constraint in SQL). The ``lookup_type`` will be one of the valid
  Django filter lookups: ``exact``, ``iexact``, ``contains``, ``icontains``,
keep keep keep keep replace keep keep keep keep keep
 Fixed #15308 -- Sphinx/reST fixes for the Custom Model Fields docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15547 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/howto/custom-model-fields.txt