summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-02-09 22:01:13 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-02-09 22:01:13 +0000
commit9b129b8f3f7ba7e1bed065fed7f016429bd56499 (patch)
treeea9f9de833b5d7a3941fa99aa3fd1a4cf1457876
parent9ba27afce09cb5f19f429844bd699f5042eb2108 (diff)
Fixed #3468 -- fixed typo in VariableDoesNotExist.__str__. Pointed out by
Herbert Poul. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/template/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py
index 608055213f..d01d73e15e 100644
--- a/django/template/__init__.py
+++ b/django/template/__init__.py
@@ -123,7 +123,7 @@ class VariableDoesNotExist(Exception):
self.params = params
def __str__(self):
- return self.mgs % self.params
+ return self.msg % self.params
class InvalidTemplateLibrary(Exception):
pass