diff options
author | Claude Paroz <claude@2xlibre.net> | 2014-06-21 15:00:35 +0200 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2014-06-23 09:31:45 +0200 |
commit | 9618d68b345fe69c787f8426b07e920e647e05f3 (patch) | |
tree | 4ae5388f3da46b38d729f9f931448c58a18ddaec /django/core/exceptions.py | |
parent | 21c496ea52b8bdf0d97507c00a87286425dac087 (diff) | |
download | django-9618d68b345fe69c787f8426b07e920e647e05f3.tar.gz |
Fixed #8033 -- Explained app registry error during translation setup
Thanks Tim Graham and Aymeric Augustin for the review.
Diffstat (limited to 'django/core/exceptions.py')
-rw-r--r-- | django/core/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py index cf4aea0f36..552b0067c3 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -12,6 +12,11 @@ class DjangoRuntimeWarning(RuntimeWarning): pass +class AppRegistryNotReady(Exception): + """The django.apps registry is not populated yet""" + pass + + class ObjectDoesNotExist(Exception): """The requested object does not exist""" silent_variable_failure = True |