summaryrefslogtreecommitdiff
path: root/django/template
diff options
context:
space:
mode:
Diffstat (limited to 'django/template')
-rw-r--r--django/template/base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/template/base.py b/django/template/base.py
index 661d8c092a..4dcba6dd2b 100644
--- a/django/template/base.py
+++ b/django/template/base.py
@@ -85,9 +85,6 @@ class VariableDoesNotExist(Exception):
self.msg = msg
self.params = params
- def __str__(self):
- return six.text_type(self).encode('utf-8')
-
def __unicode__(self):
return self.msg % tuple([force_text(p, errors='replace')
for p in self.params])