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, 3 insertions, 0 deletions
diff --git a/django/template/base.py b/django/template/base.py
index bbae6a408d..ce2c970378 100644
--- a/django/template/base.py
+++ b/django/template/base.py
@@ -151,6 +151,9 @@ class Origin(object):
self.loader == other.loader
)
+ def __ne__(self, other):
+ return not self.__eq__(other)
+
@property
def loader_name(self):
if self.loader: