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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user