Revert "Improved AppRegistryNotReady message."

This reverts commit 6fa9fa91a5.

Aymeric: "I chose not to talk about django.setup() here on purpose.
This will hardly always be the correct solution."
This commit is contained in:
Tim Graham 2014-10-04 13:13:54 -04:00
parent 6fa9fa91a5
commit 8121860be4
1 changed files with 1 additions and 1 deletions

View File

@ -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):
"""