diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/applications.txt | 6 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index 8052524a49..f944a6fcac 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -382,9 +382,9 @@ Troubleshooting Here are some common problems that you may encounter during initialization: -* ``RuntimeError: App registry isn't ready yet.`` This happens when importing - an application configuration or a models module triggers code that depends - on the app registry. +* ``AppRegistryNotReady`` This happens when importing an application + configuration or a models module triggers code that depends on the app + registry. For example, :func:`~django.utils.translation.ugettext()` uses the app registry to look up translation catalogs in applications. To translate at diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 3ab136d24b..a02bee3bcf 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -934,7 +934,7 @@ script with:: >>> import django >>> django.setup() -Otherwise, you will hit ``RuntimeError: App registry isn't ready yet.`` +Otherwise, you will hit an ``AppRegistryNotReady`` exception. App registry consistency ^^^^^^^^^^^^^^^^^^^^^^^^ |
