summaryrefslogtreecommitdiff
path: root/django/core/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/core/exceptions.py')
-rw-r--r--django/core/exceptions.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/django/core/exceptions.py b/django/core/exceptions.py
index 9d1aab665f..f22f67c261 100644
--- a/django/core/exceptions.py
+++ b/django/core/exceptions.py
@@ -1,13 +1,8 @@
"Global Django exceptions"
-from django.core.template import SilentVariableFailure
-
-class Http404(Exception):
- pass
-
-class ObjectDoesNotExist(SilentVariableFailure):
+class ObjectDoesNotExist(Exception):
"The requested object does not exist"
- pass
+ silent_variable_failure = True
class SuspiciousOperation(Exception):
"The user did something suspicious"