  
  Documenting your custom field
  -----------------------------
  
  .. class:: django.db.models.Field
  
  .. attribute:: description
  
  As always, you should document your field type, so users will know what it is.
  In addition to providing a docstring for it, which is useful for developers,
  you can also allow users of the admin app to see a short description of the
  field type via the :doc:`django.contrib.admindocs
 
</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 .. class:: django.db.models.SubfieldBase

 </s> add  </s> remove custom form field, and/or implementing the :meth:`formfield` method on
 </s> add custom form field, and/or implementing the :meth:`.formfield` method on </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
.. attribute:: Field.description
  
  Documenting your custom field
  -----------------------------
  
.. attribute:: Field.description
.. attribute:: Field.description
.. attribute:: Field.description
  
  As always, you should document your field type, so users will know what it is.
  In addition to providing a docstring for it, which is useful for developers,
  you can also allow users of the admin app to see a short description of the
  field type via the :doc:`django.contrib.admindocs
keep keep keep keep replace 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