diff options
| author | Tim Graham <timograham@gmail.com> | 2015-09-11 14:07:12 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-11 14:09:15 -0400 |
| commit | 95c00c40ae62c4e723a3498722ab3a0921aa46e5 (patch) | |
| tree | 4db90781a31890e78410c6228d81a0a22eafd69b /docs/ref | |
| parent | c8773493b62083b9ca5476a6040737f5cca79944 (diff) | |
[1.8.x] Refs #25381 -- Clarified that AppConfig model methods search only the current app.
Backport of e7e8d30cae9457339eb49ae8584e82ff0a038e99 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/applications.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index dd120905df..4870e74577 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -204,13 +204,14 @@ Methods .. method:: AppConfig.get_models() - Returns an iterable of :class:`~django.db.models.Model` classes. + Returns an iterable of :class:`~django.db.models.Model` classes for this + application. .. method:: AppConfig.get_model(model_name) Returns the :class:`~django.db.models.Model` with the given - ``model_name``. Raises :exc:`LookupError` if no such model exists. - ``model_name`` is case-insensitive. + ``model_name``. Raises :exc:`LookupError` if no such model exists in this + application. ``model_name`` is case-insensitive. .. method:: AppConfig.ready() |
