#17851: Db Field instances cannot be compared to other objects -------------------------------------+------------------------------------- Reporter: charettes | Owner: charettes Type: Bug | Status: new Component: Database layer | Version: master (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: field compare | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 1 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by charettes): I don't want to misinterpret his comment but Alex said [https://github.com/django/django/pull/38#issuecomment-5473709 it looked fine with `@total_ordering` on github]. I updated the pull request with a comment explaining that the code is borrowed for python 2.7.3. Are you sure a TestCase is needed? I can write it but I feel like it must be already tested if it's included in stdlib? -- Ticket URL: <https://code.djangoproject.com/ticket/17851#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.