diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/instances.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index ae5dec2e65..81f9bfb433 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -30,7 +30,9 @@ need to :meth:`~Model.save()`. You may be tempted to customize the model by overriding the ``__init__`` method. If you do so, however, take care not to change the calling signature as any change may prevent the model instance from being saved. - Rather than overriding ``__init__``, try using one of these approaches: + Additionally, referring to model fields within ``__init__`` may potentially + result in infinite recursion errors in some circumstances. Rather than + overriding ``__init__``, try using one of these approaches: #. Add a classmethod on the model class:: |
