Changes between Initial Version and Version 1 of Ticket #28999, comment 3
- Timestamp:
- Jan 8, 2018, 6:03:37 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28999, comment 3
initial v1 32 32 def __hash__(self): 33 33 return hash(cls) # Class' 'view function' hash is defined by the Class 34 def __eq__(self, other): 35 if not hasattr(other, '__hash__'): 36 return False 37 return hash(self) == hash(other) 34 38 view = callable_view() 35 39 view.view_class = cls