diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-04-01 15:32:00 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-04-01 15:32:00 +0000 |
| commit | f1c64816bbee4b8fc7477b8407c6999960776291 (patch) | |
| tree | 27deb25f3a7c309193221eff32633f2177e6f8f0 /docs | |
| parent | 02652f359dc7463535989a1933e1e7debd16b4df (diff) | |
Fixed #10693: updated params in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-model-fields.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt index 6fe589f4a2..709ea49b87 100644 --- a/docs/howto/custom-model-fields.txt +++ b/docs/howto/custom-model-fields.txt @@ -198,7 +198,6 @@ parameters: * :attr:`~django.db.models.Field.blank` * :attr:`~django.db.models.Field.null` * :attr:`~django.db.models.Field.db_index` - * :attr:`~django.db.models.Field.core` * :attr:`~django.db.models.Field.rel`: Used for related fields (like :class:`ForeignKey`). For advanced use only. * :attr:`~django.db.models.Field.default` @@ -206,7 +205,6 @@ parameters: * :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` * :attr:`~django.db.models.Field.unique_for_year` @@ -216,6 +214,9 @@ parameters: * :attr:`~django.db.models.Field.db_tablespace`: Currently only used with the Oracle backend and only for index creation. You can usually ignore this option. + * :attr:`~django.db.models.Field.auto_created`: True if the field was + automatically created, as for the `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 :ref:`field documentation |
