summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-10-04 13:13:54 -0400
committerTim Graham <timograham@gmail.com>2014-10-04 13:16:05 -0400
commit0dbf366d90bb2e1403aede815e96d85ba989953f (patch)
treefdc9fe671dc37297338b4c1b91947c8a49b5e36b /django
parent154f5f0de108f428de2d5f488e0264f4459a4b66 (diff)
[1.7.x] Revert "Improved AppRegistryNotReady message."
This reverts commit 154f5f0de108f428de2d5f488e0264f4459a4b66. Aymeric: "I chose not to talk about django.setup() here on purpose. This will hardly always be the correct solution." Backport of 8121860be4 from master
Diffstat (limited to 'django')
-rw-r--r--django/apps/registry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/apps/registry.py b/django/apps/registry.py
index 08c6fc947e..57bdc3edb2 100644
--- a/django/apps/registry.py
+++ b/django/apps/registry.py
@@ -128,7 +128,7 @@ class Apps(object):
Raises an exception if all models haven't been imported yet.
"""
if not self.models_ready:
- raise AppRegistryNotReady("Models aren't loaded yet. Ensure django.setup() has been called.")
+ raise AppRegistryNotReady("Models aren't loaded yet.")
def get_app_configs(self):
"""