Kaydet (Commit) 8121860b authored tarafından Tim Graham's avatar Tim Graham

Revert "Improved AppRegistryNotReady message."

This reverts commit 6fa9fa91.

Aymeric: "I chose not to talk about django.setup() here on purpose.
This will hardly always be the correct solution."
üst 6fa9fa91
......@@ -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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment