#31426: Add proper field validation to QuerySet.order_by.
-------------------------------------+-------------------------------------
Reporter: Maxim | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: ORDER_PATTERN, | Triage Stage: Accepted
order_by |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"513948735b799239f3ef8c89397592445e1a0cd5" 51394873]:
{{{
#!CommitTicketReference repository=""
revision="513948735b799239f3ef8c89397592445e1a0cd5"
Fixed #31426 -- Added proper field validation to QuerySet.order_by().
Resolve the field reference instead of using fragile regex based string
reference validation.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31426#comment:8>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.f3801cbc96b24e9a78a02f949cacdc16%40djangoproject.com.