summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-20Fixed ResourceWarning from unclosed SQLite connection in test_utils on ↵Mariusz Felisiak
Python 3.13+. On SQLite, close() doesn't explicitly close in-memory connections. Follow up to 921670c6943e9c532137b7d164885f2d3ab436b8 and dd45d5223b3c5640baefcb591782bbcff873b6bf.
2024-03-20Fixed #35309 -- Made prefetch clear ordering for single-valued relationships.Laurent Lyaudet
2024-03-19Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+.Mariusz Felisiak
On SQLite, close() doesn't explicitly close in-memory connections. Follow up to dd45d5223b3c5640baefcb591782bbcff873b6bf.
2024-03-18Stopped using byte-compiled 3rd-party packages in daily builds for ↵Mariusz Felisiak
byte-compiled Django.
2024-03-18Refs #34059, Refs #34060 -- Removed outdated warning about validation of ↵Mariusz Felisiak
JSONField constraints. Known issues have been fixed in: - 0d8fbe2ade29f1b7bd9e6ba7a0281f5478603a43, - c991602ce5798385261381025c06698d7fd30dc5, and - 26aae5614487f58ddb1df5726224393887373ecd.
2024-03-18Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions.Claude Paroz
2024-03-17Fixed #35301 -- Fixed Options._property_names for overriden properties.Adam Johnson
Regression in faeb92ea13f0c1b2cc83f45b512f2c41cfb4f02d.
2024-03-16Stopped skipping ↵Mariusz Felisiak
model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery on Oracle 23c.
2024-03-15Refs #34900 -- Fixed SafeMIMEText.set_payload() crash on Python 3.13.Mariusz Felisiak
Payloads with surrogates are passed to the set_payload() since https://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428
2024-03-15Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+.Mariusz Felisiak
Oracle 23c supports comparing boolean expressions.
2024-03-15Fixed #35294 -- Fixed TEXT format of QuerySet.explain() for long plans.Adam Johnson
co-authored-by: Gordon <gordon.wrigley@gmail.com> co-authored-by: Simon Charette <charette.s@gmail.com>
2024-03-14Fixed #28541 -- Fixed migrations crash when changing primary key on SQLite.Ben Cail
2024-03-14Refs #34488 -- Made ClearableFileInput preserve "Clear" checked attribute ↵Johannes Maron
when form is invalid.
2024-03-14Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.Johannes Maron
Regression in 8a6c0203c4e92908c2b26ba54feba4ce7e76d081.
2024-03-14Fixed #35295 -- Used INSERT with multiple rows on Oracle 23c.Mariusz Felisiak
2024-03-14Refs #35295 -- Added BaseDatabaseOperations.bulk_insert_sql().Mariusz Felisiak
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-03-14Refs #30686 -- Made django.utils.html.VOID_ELEMENTS a frozenset.Nick Pope
2024-03-13Fixed #34901 -- Added async-compatible interface to session engines.Jon Janzen
Thanks Andrew-Chen-Wang for the initial implementation which was posted to the Django forum thread about asyncifying contrib modules.
2024-03-13Refs #32673, Refs #35295 -- Avoided wrapping rhs direct values in lookups.Mariusz Felisiak
2024-03-12Removed unused clean() method in file-based session.Mariusz Felisiak
Unused since its introduction in bcf7e9a9fe037eff4d5dea0cdd8c35104590e1a8.
2024-03-12Used SessionBase.__setitem__() in setdefault().Mariusz Felisiak
2024-03-11Optimized DatabaseOperations.bulk_insert_sql() a bit on Oracle.Mariusz Felisiak
2024-03-11Fixed #14831 -- Extended template style guide in docs.Ryan Cheley
2024-03-11Fixed #25595 -- Doc'd that URLValidator rejects file:// URIs without a host.Adam Zapletal
2024-03-11Fixed #35285 -- Optimized ForeignObject._check_unique_target().Adam Johnson
2024-03-10Applied BoundingCircle test to only one country.Claude Paroz
Looks like testing the second Country is much more computing-intensive and brings nothing to the test.
2024-03-10Fixed #35286 -- Updated broken link in django/template/smartif.py docstring.umair mehmood
2024-03-10Fixed #35280 -- Improved iriencode filter example in docs.canhuynh1998
2024-03-09Moved --failfast to DiscoverRunner.Adam Johnson
2024-03-09Fixed #35270 -- Optimized model's Options._property_names.Adam Johnson
co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-03-08Fixed #35044 -- Avoided clearing reverse relations and private fields when ↵Giannis Terzopoulos
accessing deferred fields. Regression in a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f for reverse relations and possibly in 123b1d3fcf79f091573c40be6da7113a6ef35b62 for private fields.
2024-03-08Optimized Model.refresh_from_db(fields=...) by using a set.Giannis Terzopoulos
2024-03-08Refs #35044 -- Added Model.refresh_from_db(fields=...) test for clearing ↵Giannis Terzopoulos
reverse relations.
2024-03-08Corrected code-block directives in topics/forms/formsets.txt.Mitchina
2024-03-08Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when ↵Ben Cail
validating empty values. Thanks Brian Ibbotson for the report. Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
2024-03-08Refs #30397 -- Optimized interpolation of index and constraint names a bit more.Nick Pope
2024-03-07Fixed #35030 -- Made django.contrib.auth decorators to work with async ↵Dingning
functions.
2024-03-07Fixed typo in django/db/models/expressions.py.Mariusz Felisiak
2024-03-07Fixed typos in docstrings and docs.cuinix
Signed-off-by: cuinix <915115094@qq.com>
2024-03-07Refs #30397 -- Optimized interpolation of index and constraint names a bit.Adam Johnson
2024-03-06Refs #35030 -- Added more tests for @user_passes_test decorator.Mariusz Felisiak
2024-03-06Fixed #35021 -- Fixed capturing queries when using client-side parameters ↵Michail Chatzis
binding with psycopg 3+.
2024-03-06Fixed broken links and redirects in docs.Mariusz Felisiak
2024-03-06Updated broken links in docs/ref/contrib/gis/tutorial.txt.Mohammad Alsakhawy
2024-03-05Fixed #35252 -- Optimized _route_to_regex().Adam Johnson
co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-03-05Used sys_platform in tests requirements.Mariusz Felisiak
We already use implementation_name and python_version markers so it's more consistent. Moreover, marker values can be specified via pip's command line options.
2024-03-05Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs.Josh Smeaton
The timezone documentation for Postgres mentions the behavior of time zone conversion, but links to the wrong setting that controls the behavior. Postgres will not return datetimes in the time zone set by the TIME_ZONE setting, but rather the time zone of the database connection, which is defined by DATABASES.TIME_ZONE setting falling back to UTC. This corrects the link in the documentation and adds note that there are two distinct TIME_ZONE settings and the one most are familiar with is not considered for PostgreSQL time zone conversion.
2024-03-04Fixed #35266 -- Deferred formatting in RelatedField._check_clashes().Adam Johnson
2024-03-04Fixed #35261 -- Corrected Media JS example of object-based paths in docs.Leandro de Souza
`rel` attribute is not valid on `<link>` tags.
2024-03-04Added a GitHub pull request template.erosselli
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org> Co-authored-by: Adam Johnson <me@adamj.eu>