| Age | Commit message (Collapse) | Author |
|
Backport of 171f91d9ef5177850c2f12b26dd732785f6ac034 from main
|
|
function.
Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
Backport of 74afcee234f8be989623ccc7c28b9fb97fb548f0 from main
|
|
This makes it easier to work with lazy iterators used for callables,
etc. when extracting items or comparing to lists, e.g. during testing.
Also added `BaseChoiceIterator.__iter__()` to make it clear that
subclasses must implement this and added `__all__` to the module.
Co-authored-by: Adam Johnson <me@adamj.eu>
Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
Backport of 07fa79ef2bb3e8cace7bd87b292c6c85230eed05 from main
|
|
Backport of b5311ee23219cfb676e2e67667ecba1e5d363aa0 from main
|
|
Backport of 21382e2743d06efbf5623e7c9b6dccf2a325669b from main
|
|
<main> tag.
Regression in 91e617c743b21a0ebad01f18623a8b31f6f58500.
Thanks Tom Carrick for the report.
Backport of 89d2ae257bfdbe6f32c4671d97bf572623992ace from main
|
|
test_skip_class_unless_db_feature() test on Python 3.12.1+.
Python 3.12.1+ no longer includes skipped tests in the number of
running tests. Check out:
https://github.com/python/cpython/issues/110890#issuecomment-1763458686
https://github.com/python/cpython/pull/106588
Backport of 20b7aac7ca60b0352d926340622e618bcbee54a8 from main
|
|
expressions containing subqueries.
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7,
complements e5c844d6f2a4ac6ae674d741b5f1fa2a688cedf4.
Refs #28477, #34551.
Thanks Haldun Komsuoglu for the report.
Backport of 3b4a571275d967512866012955eb0b3ae486d63c from main
|
|
test_validate_nullable_textfield_with_isnull_true() on databases that don's support table check constraints.
Thanks Tim Graham for the report.
Backport of 9fd3a0ffc8fb8e532b0d5717f99fb15aff175a6c from main
|
|
continue/add another" in admin.
Co-authored-by: Grady Yu <gradyy@users.noreply.github.com>
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
Co-authored-by: Matthew Newton <matthewn@berkeley.edu>
Backport of fc62e17778dad9eab9e507d90d85a33d415f64a7 from main
|
|
test on Oracle.
This uses an example with the same precision for all databases.
Follow up to 96e7a752b6c44a84e18d82d37524c1df64b32e12.
Backport of 6e369f36f2def929525e524f621eead4b041d1cf from main
|
|
prefetch_one_level().
Thanks Matt Westcott for the report.
Regression in cac94dd8aa2fb49cd2e06b5b37cf039257284bb0.
Backport of 296b75a3c0309a936a6c07d8f711f722e3b96e63 from main
|
|
non-default CRS.
Backport of 96e7a752b6c44a84e18d82d37524c1df64b32e12 from main
|
|
Thanks The Epic Dev for helping with tests.
Backport of 0989cf13e70f52d5b241aa176eb74a680a282d09 from main.
|
|
Exists() with empty queryset.
Thanks Tobias Bengfort for the report.
Backport of ea596a52d9f905596cc5335930c8f2ac4511204c from main
|
|
django.utils.text.Truncator when truncating HTML text.
Thanks Wenchao Li of Alibaba Group for the report.
|
|
to TemplatesSetting.
Regression in 439242c5943e16dd5a3a68fadac76e5e723eb323.
Backport of fe835c2355072fc2b7a0fbbc57d05477c7ee6ce9 from main
|
|
with output_field with params.
Backport of e7e8eb44a30bcab004a582760752b5eb3fcd6e91 from main
|
|
parallel workers.
Backport of a5905b164dbf52e59fa646af9c3d523c0804d86a from main
|
|
queries when apps are reinitialized with test tools.
Regression in fbd16438f46bc2128926958ad24331da5d1b406f.
Backport of 4f2ae0644de34791b84b7beb11a966ce4bc48fb6 from main
|
|
expressions.
Co-authored-by: Simon Charette <charette.s@gmail.com>
Backport of 574ee4023e15cfb195833edfbaed353f8021c62f from main
|
|
unnamed templates.
Backport of 51d703a27fee518491adee1e07e2b857a90b2c8d from main
|
|
PositiveIntegerField.
Regression in 40b8a6174f001a310aa33f7880db0efeeb04d4c4.
Backport of 4de31ec680df062e5964b630f1b881ead5004e15 from main
|
|
translations catalog.
Backport of d7972436639bacada0f94d3b9818446343af59ad from main
|
|
DatabaseFeatures.nulls_order_largest=False.
Failure observed on CockroachDB.
Backport of b0788a0918d0e12bc8878581d99adc3a79799f94 from main
|
|
Thanks Alex Vandiver for the report.
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Backport of 779cd28acb1f7eb06f629c0ea4ded99b5ebb670a from main.
|
|
Test regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
Backport of 8af3ae4ad9ca475f2428fac950de8df56b575e6a from main
|
|
Co-authored-by: revanthgss <revanthgss@almabase.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
ModelAdmin.list_display.
|
|
|
|
Header tag was changed to <header> get the landmark banner for
accessibility.
|
|
Thanks Simon Charette for the implementation idea.
|
|
|
|
|
|
|
|
functools.lru_cache in migrations.
`@functools.cache` and `@functools.lru_cache` return an object of type
`functools._lru_cache_wrapper` which prevented the migrations serializer from
working. Simply using the existing `FunctionTypeSerializer` for this additional
type works as expected.
|
|
Functions decorated with a decorator that is properly wrapped, e.g. by
using `@functools.wraps`, are already supported.
|
|
CsrfViewMiddlewareTestMixin.test_ensures_csrf_cookie_no_logging().
Logger was changed in 55fec16aafed30a9daa06d6ecdf8ca3ad361279e.
|
|
|
|
|
|
- use @enum.property
https://docs.python.org/3/library/enum.html#enum.property
- use @enum.nonmember
Using @property on an enum class does not yield the expected result.
do_not_call_in_templates attribute works because a @property instance
is truthy. We can make this a literal True value as expected by using
@enum.nonmember in Python 3.11+.
https://docs.python.org/3/library/enum.html#enum.nonmember
- used enum.IntEnum/StrEnum
Python 3.11+ has ReprEnum which uses int.__str__() and str.__str__()
for __str__() in the `IntEnum` and `StrEnum` subclasses. We can emulate
that for Python < 3.11.
https://docs.python.org/3/library/enum.html#enum.ReprEnum
https://docs.python.org/3/library/enum.html#enum.IntEnum
https://docs.python.org/3/library/enum.html#enum.StrEnum
|
|
This also uses enum.EnumType for Python 3.11+ as Python 3.11 renamed
EnumMeta to EnumType. While the former is still available as an alias
of the latter for now, let's prefer the canonical name for this.
Check out https://docs.python.org/3/library/enum.html#enum.EnumType
|
|
|
|
from mutating the main STORAGES.
Regression in 6b965c600054f970bdf94017ecf2e0e6e0a4326b.
|
|
ForeignObject.from_fields/to_fields is not a tuple.
|
|
|
|
|
|
primary keys with different types.
|
|
|
|
Changed the cache name used for singly related objects to be the
to_attr parameter passed to a Prefetch object. This fixes issues with
checking if values have already been fetched in cases where the Field
already has some prefetched value, but not for the same model attr.
|