1
0
mirror of https://github.com/django/django.git synced 2025-10-26 23:26:08 +00:00

Fixed #25825 -- Implemented __ne__() for template Origin

This commit is contained in:
Jaap Roes
2015-11-27 17:19:19 +01:00
committed by Tim Graham
parent 395af23ac1
commit c6ea4ed5d2
2 changed files with 27 additions and 0 deletions

View File

@@ -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: