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