  
          def __init__(self, *args, **kwargs):
              # ...
  
  This ensures that the :meth:`to_python` method, documented below, will always be
  called when the attribute is initialized.
  
  ModelForms and custom fields
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  If you use :class:`~django.db.models.SubfieldBase`, :meth:`to_python`
 
</s> remove If you use :class:`~django.db.models.SubfieldBase`, :meth:`to_python`
 </s> add If you use :class:`~django.db.models.SubfieldBase`, :meth:`.to_python` </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 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 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::
This ensures that the :meth:`.to_python` method, documented below, will always
be called when the attribute is initialized.
  
          def __init__(self, *args, **kwargs):
              # ...
  
This ensures that the :meth:`.to_python` method, documented below, will always
be called when the attribute is initialized.
This ensures that the :meth:`.to_python` method, documented below, will always
be called when the attribute is initialized.
  
  ModelForms and custom fields
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  If you use :class:`~django.db.models.SubfieldBase`, :meth:`to_python`
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