Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrected references that aren't `Field` attributes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 47ed499a5db8d7c41d6139fa9d797538b92f5cd5 1 parent b016ea0
@gdub gdub authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 docs/howto/custom-model-fields.txt
View
10 docs/howto/custom-model-fields.txt
@@ -200,14 +200,12 @@ parameters:
* :attr:`~django.db.models.Field.db_index`
* :attr:`~django.db.models.Field.core`
* :attr:`~django.db.models.Field.rel`: Used for related fields (like
- :attr:`~django.db.models.Field.ForeignKey`). For advanced use only.
+ :class:`ForeignKey`). For advanced use only.
* :attr:`~django.db.models.Field.default`
* :attr:`~django.db.models.Field.editable`
- * :attr:`~django.db.models.Field.serialize`: If
- :attr:`~django.db.models.Field.False`, the field will not be serialized
- when the model is passed to Django's :ref:`serializers
- <topics-serialization>`. Defaults to
- :attr:`~django.db.models.Field.True`.
+ * :attr:`~django.db.models.Field.serialize`: If ``False``, the field will
+ not be serialized when the model is passed to Django's :ref:`serializers
+ <topics-serialization>`. Defaults to ``True``.
* :attr:`~django.db.models.Field.prepopulate_from`
* :attr:`~django.db.models.Field.unique_for_date`
* :attr:`~django.db.models.Field.unique_for_month`
Please sign in to comment.
Something went wrong with that request. Please try again.