  appropriate Python object. The details of how this happens internally are a
  little complex, but the code you need to write in your ``Field`` class is
  simple: make sure your field subclass uses a special metaclass:
  
  .. class:: django.db.models.SubfieldBase
  
  For example::
  
      class HandField(models.Field):
  
          description = "A hand of cards (bridge style)"
 
</s> remove the above example, the type description displayed by the ``admindocs``
 </s> add the above example, the description displayed by the ``admindocs`` </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. </s> remove should be made in the call to :meth:`get_db_prep_value`.
 </s> add should be made in the call to :meth:`.get_db_prep_value`. </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.
  appropriate Python object. The details of how this happens internally are a
  little complex, but the code you need to write in your ``Field`` class is
  simple: make sure your field subclass uses a special metaclass:
  


  For example::
  
      class HandField(models.Field):
  
          description = "A hand of cards (bridge style)"
keep keep keep keep replace 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