summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
Diffstat (limited to 'django/core')
-rw-r--r--django/core/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py
index cbc80bd78f..0e24f6cb18 100644
--- a/django/core/exceptions.py
+++ b/django/core/exceptions.py
@@ -132,6 +132,12 @@ class FieldError(Exception):
pass
+class FieldFetchBlocked(FieldError):
+ """On-demand fetching of a model field blocked."""
+
+ pass
+
+
NON_FIELD_ERRORS = "__all__"