The error is as follows:
Workaround: Modify the Def total_ordering (CLS) of the functools.py file under the specified path: method:
The original appearance:
convert = { ' __lt__ ': [(' __gt__ ', lambda Self, other:other < self), (' __le__ ', lambda-Self, other:not-Other & Lt Self), (' __ge__ ', lambda-Self, other:not-<-other)], ' __le__ ': [(' __ge__ ', lambda-Self, other:other <= Self), (' __lt__ ', lambda-Self, other:not other <=-Self), (' __gt__ ', lambda-Self, other:not-<=-Other) ], ' __gt__ ': [(' __lt__ ', lambda Self, other:other > Self), (' __ge__ ', lambda-Self, other:not-other >-Self) , (' __le__ ', lambda Self, other:not self > Other)], ' __ge__ ': [(' __le__ ', lambda-Self, other:other->= self ), (' __gt__ ', lambda Self, other:not other >=-Self), (' __lt__ ', lambda-Self, other:not->=-Other)]
}
The modified look:
convert = {' __lt__ ': [(' __gt__ ', Lambda Self, other:not (self < other or self = = Other)), (' __le __ ', Lambda Self, other:self < other or "self = = Other", (' __ge__ ', lambda Self, other:not self < o ther)], ' __le__ ': [(' __ge__ ', lambda Self, other:not-<= other or self = = other), (' __lt__ ', Lambda Self, other:self <= other and not self = = other), (' __gt__ ', lambda-Self, other:not-Self <= Other)], ' __gt__ ': [(' __lt__ ', lambda-Self, other:not (self > Other or self = = Other)), (' __ge__ ', lambda self, other:self > Other or "self = = Other", (' __le__ ', lambda Self, other:not self > oth ER)], ' __ge__ ': [(' __le__ ', Lambda Self, Other: (not self >= other) or self = = other), (' __gt__ ', Lambda Self, other:self >= other and not self = = other), (' __lt__ ', lambda-Self, other:not-Self >= Other)]}
Create an app after you've finished changing it
Django Startapp report maximum recursion depth exceeded