django/django
Juan Alvarez 517d3bb4dd Fixed #34779 -- Avoided unnecessary selection of non-nullable m2m fields without natural keys during serialization.
By using `select_related(None)` instead of `select_related()`, the
unnecessary joins are completely avoided. Note that the current tests
already covers the change, when the field is not `null=True`.

Regression in f9936deed1.
2023-08-19 10:29:43 +02:00
..
apps Fixed #34687 -- Made Apps.clear_cache() clear get_swappable_settings_name() cache. 2023-06-30 08:27:15 +02:00
conf Fixed #34773 -- Fixed syncing DEFAULT_FILE_STORAGE/STATICFILES_STORAGE settings with STORAGES. 2023-08-18 18:11:24 +02:00
contrib Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle. 2023-08-10 10:11:53 +02:00
core Fixed #34779 -- Avoided unnecessary selection of non-nullable m2m fields without natural keys during serialization. 2023-08-19 10:29:43 +02:00
db Fixed #34362 -- Fixed FilteredRelation() crash on conditional expressions. 2023-08-11 12:32:18 +02:00
dispatch Fixed #32172 -- Adapted signals to allow async handlers. 2023-03-07 08:39:25 +01:00
forms Fixed #32820 -- Added aria-invalid="true" to fields with errors. 2023-08-01 06:08:04 +02:00
http Simplified django.http.request.split_domain_port(). 2023-08-02 13:07:41 +02:00
middleware Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used. 2023-05-02 06:04:18 +02:00
template Fixed #34692 -- Made autoreloader reset cached template loader for default renderer. 2023-08-09 09:09:52 +02:00
templatetags Refs #34233 -- Used str.removeprefix()/removesuffix(). 2023-01-18 19:11:18 +01:00
test Simplified call_command() calls. 2023-07-27 15:48:47 +02:00
urls Refs #34691 -- Optimized system check for unmatched angle brackets in path(). 2023-07-11 22:45:31 +02:00
utils Removed unneeded escapes in regexes. 2023-08-02 19:53:16 +02:00
views Refs #31949 -- Made @vary_on_(cookie/headers) decorators work with async functions. 2023-07-10 11:43:36 +02:00
__init__.py Bumped version; master is now 5.0 pre-alpha. 2023-01-17 11:49:15 +01:00
__main__.py
shortcuts.py Fixed #34714 -- Added aget_object_or_404()/aget_list_or_404() shortcuts. 2023-07-24 07:37:54 +02:00