  prepared for use as a parameter in a query.
  
  This conversion should *not* include any database-specific
  conversions. If database-specific conversions are required, they
  should be made in the call to :meth:`get_db_prep_value`.
  
  For example::
  
      class HandField(models.Field):
          # ...
 
</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 already been passed through :meth:`get_prep_value` conversions. When
 </s> add already been passed through :meth:`.get_prep_value` conversions. When </s> remove :meth:`to_python`::
 </s> add :meth:`.to_python`:: </s> remove :meth:`get_db_prep_value` is the method where those conversions should
 </s> add :meth:`.get_db_prep_value` is the method where those conversions should </s> remove ``datetime``. The simplest way to handle this in a ``db_type()`` method is to
check the ``connection.settings_dict['ENGINE']`` attribute.
 </s> add ``datetime``. The simplest way to handle this in a :meth:`.db_type`
method is to check the ``connection.settings_dict['ENGINE']`` attribute.
should be made in the call to :meth:`.get_db_prep_value`.
  prepared for use as a parameter in a query.
  
  This conversion should *not* include any database-specific
  conversions. If database-specific conversions are required, they
should be made in the call to :meth:`.get_db_prep_value`.
  
  For example::
  
      class HandField(models.Field):
          # ...
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