David Sanders
|
b6e2b83901
|
Fixed #34841 -- Avoided rendering apps on state still requiring mutation.
|
2024-03-22 21:29:59 +01:00 |
|
Mariusz Felisiak
|
1c11dba835
|
Added ModelState.from_model() test for abstract model with unnamed indexes.
|
2024-03-22 13:31:33 +01:00 |
|
Ben Cail
|
8dbfef4695
|
Fixed #35320 -- Removed unnecessary django.core.files.move._samefile() hook.
os.path.samefile() uses the same implementation on Windows as all other
platforms since Python 3.4.
|
2024-03-21 20:15:41 +01:00 |
|
sharonwoo
|
6a37e9bfae
|
Fixed #35257 -- Corrected resolving output_field for IntegerField/DecimalField with NULL.
|
2024-03-21 10:13:54 +01:00 |
|
Adam Zapletal
|
fd2514d17d
|
Added RowNumber() link in Rank() docs.
|
2024-03-21 05:52:07 +01:00 |
|
Mariusz Felisiak
|
6f7c0a4d66
|
Fixed ResourceWarning from unclosed SQLite connection in test_utils on Python 3.13+.
On SQLite, close() doesn't explicitly close in-memory connections.
Follow up to 921670c694 and
dd45d5223b .
|
2024-03-20 11:44:30 +01:00 |
|
Laurent Lyaudet
|
f2388a4b73
|
Fixed #35309 -- Made prefetch clear ordering for single-valued relationships.
|
2024-03-20 05:26:18 +01:00 |
|
Mariusz Felisiak
|
921670c694
|
Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+.
On SQLite, close() doesn't explicitly close in-memory connections.
Follow up to dd45d5223b .
|
2024-03-19 10:03:12 +01:00 |
|
Mariusz Felisiak
|
0a6ed278d8
|
Stopped using byte-compiled 3rd-party packages in daily builds for byte-compiled Django.
|
2024-03-18 19:37:04 +01:00 |
|
Mariusz Felisiak
|
9c17010358
|
Refs #34059, Refs #34060 -- Removed outdated warning about validation of JSONField constraints.
Known issues have been fixed in:
- 0d8fbe2ade ,
- c991602ce5 , and
- 26aae56144 .
|
2024-03-18 16:11:38 +01:00 |
|
Claude Paroz
|
10b31eea33
|
Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions.
|
2024-03-18 09:45:33 +01:00 |
|
Adam Johnson
|
7646b9023d
|
Fixed #35301 -- Fixed Options._property_names for overriden properties.
Regression in faeb92ea13 .
|
2024-03-17 09:43:04 +01:00 |
|
Mariusz Felisiak
|
b07e2d57a0
|
Stopped skipping model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery on Oracle 23c.
|
2024-03-16 11:50:59 +01:00 |
|
Mariusz Felisiak
|
b231bcd19e
|
Refs #34900 -- Fixed SafeMIMEText.set_payload() crash on Python 3.13.
Payloads with surrogates are passed to the set_payload() since
f97f25ef5d
|
2024-03-15 12:51:40 +01:00 |
|
Mariusz Felisiak
|
36a000858b
|
Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+.
Oracle 23c supports comparing boolean expressions.
|
2024-03-15 12:34:54 +01:00 |
|
Adam Johnson
|
cbf1e87398
|
Fixed #35294 -- Fixed TEXT format of QuerySet.explain() for long plans.
co-authored-by: Gordon <gordon.wrigley@gmail.com>
co-authored-by: Simon Charette <charette.s@gmail.com>
|
2024-03-15 06:58:14 +01:00 |
|
Ben Cail
|
593067a8ee
|
Fixed #28541 -- Fixed migrations crash when changing primary key on SQLite.
|
2024-03-14 20:56:43 +01:00 |
|
Johannes Maron
|
3d7235c67b
|
Refs #34488 -- Made ClearableFileInput preserve "Clear" checked attribute when form is invalid.
|
2024-03-14 14:03:14 +01:00 |
|
Johannes Maron
|
e69019555d
|
Fixed #35273 -- Fixed rendering AdminFileWidget's attributes.
Regression in 8a6c0203c4 .
|
2024-03-14 14:03:09 +01:00 |
|
Mariusz Felisiak
|
175b04942a
|
Fixed #35295 -- Used INSERT with multiple rows on Oracle 23c.
|
2024-03-14 11:11:15 +01:00 |
|
Mariusz Felisiak
|
912f72a6f0
|
Refs #35295 -- Added BaseDatabaseOperations.bulk_insert_sql().
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
|
2024-03-14 11:11:15 +01:00 |
|
Nick Pope
|
95ae37839c
|
Refs #30686 -- Made django.utils.html.VOID_ELEMENTS a frozenset.
|
2024-03-14 05:56:22 +01:00 |
|
Jon Janzen
|
f5c340684b
|
Fixed #34901 -- Added async-compatible interface to session engines.
Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.
|
2024-03-13 17:55:15 +01:00 |
|
Mariusz Felisiak
|
33c06ca0da
|
Refs #32673, Refs #35295 -- Avoided wrapping rhs direct values in lookups.
|
2024-03-13 17:46:37 +01:00 |
|
Mariusz Felisiak
|
80fe2f4391
|
Removed unused clean() method in file-based session.
Unused since its introduction in bcf7e9a9fe .
|
2024-03-12 13:31:22 +01:00 |
|
Mariusz Felisiak
|
c925448498
|
Used SessionBase.__setitem__() in setdefault().
|
2024-03-12 10:48:04 +01:00 |
|
Mariusz Felisiak
|
3592e9fcb1
|
Optimized DatabaseOperations.bulk_insert_sql() a bit on Oracle.
|
2024-03-11 13:24:18 +01:00 |
|
Ryan Cheley
|
f2c3524959
|
Fixed #14831 -- Extended template style guide in docs.
|
2024-03-11 11:05:54 +01:00 |
|
Adam Zapletal
|
7326513a8f
|
Fixed #25595 -- Doc'd that URLValidator rejects file:// URIs without a host.
|
2024-03-11 08:17:49 +01:00 |
|
Adam Johnson
|
e5ec11a84d
|
Fixed #35285 -- Optimized ForeignObject._check_unique_target().
|
2024-03-11 06:52:50 +01:00 |
|
Claude Paroz
|
894fa55da1
|
Applied BoundingCircle test to only one country.
Looks like testing the second Country is much more computing-intensive
and brings nothing to the test.
|
2024-03-10 20:59:36 +01:00 |
|
umair mehmood
|
4114179ca7
|
Fixed #35286 -- Updated broken link in django/template/smartif.py docstring.
|
2024-03-10 20:05:15 +01:00 |
|
canhuynh1998
|
a7baa874d8
|
Fixed #35280 -- Improved iriencode filter example in docs.
|
2024-03-10 14:54:38 +01:00 |
|
Adam Johnson
|
0a560eab55
|
Moved --failfast to DiscoverRunner.
|
2024-03-09 20:34:00 +01:00 |
|
Adam Johnson
|
faeb92ea13
|
Fixed #35270 -- Optimized model's Options._property_names.
co-authored-by: Nick Pope <nick@nickpope.me.uk>
|
2024-03-09 16:14:18 +01:00 |
|
Giannis Terzopoulos
|
73df8b54a2
|
Fixed #35044 -- Avoided clearing reverse relations and private fields when accessing deferred fields.
Regression in a7b5ad8b19 for reverse
relations and possibly in 123b1d3fcf for
private fields.
|
2024-03-08 11:09:54 +01:00 |
|
Giannis Terzopoulos
|
74f7fe3f3d
|
Optimized Model.refresh_from_db(fields=...) by using a set.
|
2024-03-08 10:33:18 +01:00 |
|
Giannis Terzopoulos
|
0c690c6001
|
Refs #35044 -- Added Model.refresh_from_db(fields=...) test for clearing reverse relations.
|
2024-03-08 10:27:19 +01:00 |
|
Mitchina
|
2d3531af23
|
Corrected code-block directives in topics/forms/formsets.txt.
|
2024-03-08 08:07:39 +01:00 |
|
Ben Cail
|
1570ef02f3
|
Fixed #35223 -- Made Model.full_clean() ignore fields with db_default when validating empty values.
Thanks Brian Ibbotson for the report.
Regression in 7414704e88 .
|
2024-03-08 05:55:25 +01:00 |
|
Nick Pope
|
1669e54965
|
Refs #30397 -- Optimized interpolation of index and constraint names a bit more.
|
2024-03-08 05:49:32 +01:00 |
|
Dingning
|
549320946d
|
Fixed #35030 -- Made django.contrib.auth decorators to work with async functions.
|
2024-03-07 09:59:33 +01:00 |
|
Mariusz Felisiak
|
1fffa4af12
|
Fixed typo in django/db/models/expressions.py.
|
2024-03-07 08:40:24 +01:00 |
|
cuinix
|
20848bcf39
|
Fixed typos in docstrings and docs.
Signed-off-by: cuinix <915115094@qq.com>
|
2024-03-07 06:01:01 +01:00 |
|
Adam Johnson
|
9e35c8b2e3
|
Refs #30397 -- Optimized interpolation of index and constraint names a bit.
|
2024-03-07 05:59:13 +01:00 |
|
Mariusz Felisiak
|
c4df2a7776
|
Refs #35030 -- Added more tests for @user_passes_test decorator.
|
2024-03-06 13:28:32 +01:00 |
|
Michail Chatzis
|
4426b1a72d
|
Fixed #35021 -- Fixed capturing queries when using client-side parameters binding with psycopg 3+.
|
2024-03-06 11:24:58 +01:00 |
|
Mariusz Felisiak
|
177e649396
|
Fixed broken links and redirects in docs.
|
2024-03-06 08:50:21 +01:00 |
|
Mohammad Alsakhawy
|
f06bb7c88a
|
Updated broken links in docs/ref/contrib/gis/tutorial.txt.
|
2024-03-06 05:50:47 +01:00 |
|
Adam Johnson
|
eff21d8e7a
|
Fixed #35252 -- Optimized _route_to_regex().
co-authored-by: Nick Pope <nick@nickpope.me.uk>
|
2024-03-05 13:09:10 +01:00 |
|