  
  Converting Python objects to query values
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  .. method:: get_prep_value(self, value)
  
  .. versionadded:: 1.2
     This method was factored out of ``get_db_prep_value()``
  
  This is the reverse of :meth:`to_python` when working with the
 
</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 mentioned earlier. Otherwise :meth:`to_python` won't be called automatically.
 </s> add mentioned earlier. Otherwise :meth:`.to_python` won't be called
automatically. </s> remove .. method:: get_prep_lookup(self, lookup_type, value)
 </s> add .. method:: Field.get_prep_lookup(self, lookup_type, value) </s> remove .. method:: to_python(self, value)
 </s> add .. method:: Field.to_python(self, value) </s> remove :meth:`get_prep_lookup` performs the first phase of lookup preparation,
 </s> add :meth:`.get_prep_lookup` performs the first phase of lookup preparation,
.. method:: Field.get_prep_value(self, value)
  
  Converting Python objects to query values
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
.. method:: Field.get_prep_value(self, value)
  
  .. versionadded:: 1.2
     This method was factored out of ``get_db_prep_value()``
  
  This is the reverse of :meth:`to_python` when working with the
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