mirumee / django-prices

Django fields for the prices module
158 stars 52 forks source link

Add missing gt method #75

Closed krzysztofwolski closed 5 years ago

krzysztofwolski commented 5 years ago

Without this method, django-graphene falls apart :(

patrys commented 5 years ago

Why is this required? Can you provide a failing test?

Kwaidan00 commented 5 years ago

It happens for CountableDjangoObjectType. It displayed error message TypeError: '<' not supported between instances of 'ManyToManyField' and 'MoneyField'. I think we could use total_ordering class decorator instead of implementing only that one method.

patrys commented 5 years ago

That's not a test case :wink: