summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2008-08-26 06:43:04 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2008-08-26 06:43:04 +0000
commit47ed499a5db8d7c41d6139fa9d797538b92f5cd5 (patch)
tree3898d96156f445a5310087425476817cc0627bdd /docs
parentb016ea0aceb852ad9aac0257706ffc915058084f (diff)
Corrected references that aren't `Field` attributes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-model-fields.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt
index 0cfb70112c..d1b7dddc8b 100644
--- a/docs/howto/custom-model-fields.txt
+++ b/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`