Commit 828cbd26 by Christopher Grebs

Doc for __lt__

parent fb2d1cc4
......@@ -67,6 +67,11 @@ class TaggableManager(RelatedField):
self.post_through_setup(cls)
def __lt__(self, other):
"""
Required contribute_to_class as Django uses bisect
for ordered class contribution and bisect requires
a orderable type in py3.
"""
return False
def post_through_setup(self, cls):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment