summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-06-21 15:00:35 +0200
committerClaude Paroz <claude@2xlibre.net>2014-06-23 09:37:38 +0200
commitf50a17785cdb67bc9d1b146d01c731cb6bfc48cf (patch)
treef5b62e1a08eaed1e22893a10ebfe401779c29331 /docs
parent29582ad4a3ef5888ef86a45167ed8e7414c1347e (diff)
[1.7.x] Fixed #8033 -- Explained app registry error during translation setup
Thanks Tim Graham and Aymeric Augustin for the review. Backport of 9618d68b34 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/applications.txt6
-rw-r--r--docs/releases/1.7.txt2
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
^^^^^^^^^^^^^^^^^^^^^^^^