summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorDaniel Pyrathon <pirosb3@gmail.com>2015-01-06 19:16:35 -0500
committerTim Graham <timograham@gmail.com>2015-01-06 19:25:12 -0500
commitfb48eb05816b1ac87d58696cdfe48be18c901f16 (patch)
tree3d2e981b6f3fafdeb7310d0734fb148ebb7f6aef /docs/howto
parent749d23251bbd6564341405e6f8c1da129b8307e7 (diff)
Fixed #12663 -- Formalized the Model._meta API for retrieving fields.
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/custom-model-fields.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt
index 568831523c..6474742222 100644
--- a/docs/howto/custom-model-fields.txt
+++ b/docs/howto/custom-model-fields.txt
@@ -217,9 +217,9 @@ The ``Field.__init__()`` method takes the following parameters:
* :attr:`~django.db.models.Field.db_tablespace`: Only for index creation, if the
backend supports :doc:`tablespaces </topics/db/tablespaces>`. You can usually
ignore this option.
-* ``auto_created``: ``True`` if the field was automatically created, as for the
- :class:`~django.db.models.OneToOneField` used by model inheritance. For
- advanced use only.
+* :attr:`~django.db.models.Field.auto_created`: ``True`` if the field was
+ automatically created, as for the :class:`~django.db.models.OneToOneField`
+ used by model inheritance. For advanced use only.
All of the options without an explanation in the above list have the same
meaning they do for normal Django fields. See the :doc:`field documentation