Author: gwilson
Date: 2008-08-26 01:43:04 -0500 (Tue, 26 Aug 2008)
New Revision: 8572
Modified:
django/trunk/docs/howto/custom-model-fields.txt
Log:
Corrected references that aren't `Field` attributes.
Modified: django/trunk/docs/howto/custom-model-fields.txt
===================================================================
--- django/trunk/docs/howto/custom-model-fields.txt 2008-08-26 04:55:56 UTC
(rev 8571)
+++ django/trunk/docs/howto/custom-model-fields.txt 2008-08-26 06:43:04 UTC
(rev 8572)
@@ -200,14 +200,12 @@
* :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`
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---