#30557: order_by() a parent model crash when Meta.ordering contains expressions. -------------------------------------+------------------------------------- Reporter: Jonny Fuller | Owner: Hasan | Ramezani Type: Bug | Status: closed Component: Database layer | Version: master (models, ORM) | Severity: Normal | Resolution: fixed Keywords: ordering | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>): In [changeset:"7a42cfcfdc94c1e7cd653f3140b9eb30492bae4f" 7a42cfcf]: {{{ #!CommitTicketReference repository="" revision="7a42cfcfdc94c1e7cd653f3140b9eb30492bae4f" Refs #30557 -- Fixed crash of ordering by ptr fields when Meta.ordering contains F() expressions. Thanks Can Sarıgöl for the report. Follow up to 8c5f9906c56ac72fc4f13218dd90bdf9bc8a248b. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30557#comment:14> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/070.5f700043b2cae9e38867b9d6f790e998%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.