#31538: models.E015 is raised when ordering uses lookups that are not transforms. --------------------------------------+------------------------------------ Reporter: Simon Meers | Owner: felixxm Type: Bug | Status: assigned Component: Core (System checks) | Version: 3.0 Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------ Changes (by felixxm):
* status: new => assigned * severity: Normal => Release blocker * cc: Hasan Ramezani (added) * owner: nobody => felixxm * stage: Unreviewed => Accepted Comment: Thanks for the report, it's related with using lookup that are not transforms, e.g. `isnull` {{{ def test_ordering_pointing_to_lookup_not_transform(self): class Model(models.Model): test = models.CharField(max_length=100) class Meta: ordering = ('test__isnull',) self.assertEqual(Model.check(), []) }}} Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e. -- Ticket URL: <https://code.djangoproject.com/ticket/31538#comment:1> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.a1ed0c35b879858c4b1b579a29cefa24%40djangoproject.com.