django1/django
David Sanders 4771a1694b Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields for models with Meta.ordering.
This makes QuerySet.order_by() no longer ignore trailing transforms for
models with Meta.ordering. As a consequence, FieldError is raised in
such cases for non-existent fields.

Thanks to Klaas van Schelven for the report and Mariusz Felisiak for the
review and advice.
2022-10-04 08:19:34 +02:00
..
apps Rewrote some references to "master". 2022-03-08 14:50:06 +01:00
conf Added Central Kurdish (Sorani) language. 2022-08-30 11:56:11 +02:00
contrib Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers." 2022-09-30 18:18:33 +02:00
core Refs #32987 -- Relaxed system check for template tag modules with the same name by turning into a warning. 2022-10-03 10:52:21 +02:00
db Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields for models with Meta.ordering. 2022-10-04 08:19:34 +02:00
dispatch Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
forms Fixed #33995 -- Fixed FormSet.empty_form crash when empty_permitted is passed to form_kwargs. 2022-09-09 13:51:47 +02:00
http Fixed #29186 -- Fixed pickling HttpRequest and subclasses. 2022-09-14 13:04:34 +02:00
middleware Fixed #33700 -- Skipped extra resolution for successful requests not ending with /. 2022-06-02 15:15:04 +02:00
template Fixed #33864 -- Deprecated length_is template filter. 2022-07-23 12:36:21 +02:00
templatetags Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe. 2022-07-14 11:09:19 +02:00
test Refs #34010 -- Made --debug-mode work for parallel tests using spawn. 2022-09-28 19:39:25 +02:00
urls Fixed #33955, Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs." 2022-09-01 21:09:16 +02:00
utils Refs #34000 -- Optimized handling None values in numberformat.format(). 2022-09-12 13:02:50 +02:00
views Fixed #34062 -- Updated View.http_method_not_allowed() to support async. 2022-09-29 16:28:44 +02:00
__init__.py Bumped version; main is now 4.2 pre-alpha. 2022-05-17 14:22:06 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00