  
  Custom database types
  ~~~~~~~~~~~~~~~~~~~~~
  
  .. method:: db_type(self, connection)
  
  .. versionadded:: 1.2
     The ``connection`` argument was added to support multiple databases.
  
  Returns the database column data type for the :class:`~django.db.models.Field`,
 
</s> remove .. method:: get_db_prep_save(self, value, connection)
 </s> add .. method:: Field.get_db_prep_save(self, value, connection) </s> remove .. method:: get_db_prep_value(self, value, connection, prepared=False)
 </s> add .. method:: Field.get_db_prep_value(self, value, connection, prepared=False) </s> remove .. method:: get_db_prep_lookup(self, lookup_type, value, connection, prepared=False)
 </s> add .. method:: Field.get_db_prep_lookup(self, lookup_type, value, connection, prepared=False) </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 field with Django by subclassing ``Field`` and implementing the :meth:`db_type`
method, like so::
 </s> add field with Django by subclassing ``Field`` and implementing the
:meth:`.db_type` method, like so::
.. method:: Field.db_type(self, connection)
  
  Custom database types
  ~~~~~~~~~~~~~~~~~~~~~
  
.. method:: Field.db_type(self, connection)
  
  .. versionadded:: 1.2
     The ``connection`` argument was added to support multiple databases.
  
  Returns the database column data type for the :class:`~django.db.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