Mariusz Felisiak
20b7aac7ca
Refs #34900 , Refs #34118 -- Updated assertion in 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
2023-10-16 06:27:27 +02:00
Simon Charette
3b4a571275
Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing expressions containing subqueries.
...
Regression in 59bea9efd2
,
complements e5c844d6f2
.
Refs #28477 , #34551 .
Thanks Haldun Komsuoglu for the report.
2023-10-16 05:37:30 +02:00
Adam Johnson
73b2c63127
Refs #34840 -- Improved release note describing index regression.
2023-10-15 10:27:11 +02:00
Mariusz Felisiak
9fd3a0ffc8
Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_true() on databases that don's support table check constraints.
...
Thanks Tim Graham for the report.
2023-10-12 20:01:44 +02:00
lufafajoshua
8adc7c86ab
Fixed #34808 -- Doc'd aggregate function's default argument.
2023-10-11 15:17:36 -03:00
Mariana
fc62e17778
Fixed #12241 -- Preserved query strings when using "Save and 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>
2023-10-11 11:00:25 +02:00
Mariusz Felisiak
6e369f36f2
Refs #34882 -- Fixed GISFunctionsTests.test_asgeojson_option_0() test on Oracle.
...
This uses an example with the same precision for all databases.
Follow up to 96e7a752b6
.
2023-10-11 10:58:10 +02:00
Natalia
d21ab70223
Reorganized tutorial's part 4 to better understand changes needed in URLConf.
2023-10-10 10:49:27 -03:00
sarahboyce
e083f3082c
Refs #34043 -- Clarified how to test UI changes.
2023-10-09 10:45:29 +02:00
Mariusz Felisiak
54b23b1835
Added backticks to setuptools in docs.
2023-10-09 09:55:52 +02:00
sage
958e4cfe42
Added missing import in docs/ref/contrib/contenttypes.txt.
2023-10-07 06:53:53 +02:00
Mariusz Felisiak
296b75a3c0
Fixed #34889 -- Fixed get_prefetch_queryset() fallback in prefetch_one_level().
...
Thanks Matt Westcott for the report.
Regression in cac94dd8aa
.
2023-10-06 20:18:41 +02:00
ume
90c75dc4f3
Refs #32275 -- Added scrypt password hasher to PASSWORD_HASHERS setting docs.
2023-10-06 09:52:45 +02:00
Denis Rouzaud
96e7a752b6
Fixed #34882 -- Fixed no options in AsGeoJSON() for geometries in non-default CRS.
2023-10-06 05:25:32 +02:00
David Sanders
e47298aec4
Refs #31435 -- Doc'd potential infinite recursion when accessing model fields in __init__.
2023-10-05 14:19:43 -03:00
Mariusz Felisiak
91cb2d0b48
Refs #22936 -- Doc'd Lookup.prepare_rhs.
2023-10-05 15:26:02 +02:00
Simon Charette
ea596a52d9
Refs #33482 -- Fixed QuerySet selecting and filtering againts Exists() with empty queryset.
...
Thanks Tobias Bengfort for the report.
2023-10-04 21:30:50 +02:00
pieterck
0989cf13e7
Fixed #34759 -- Confirmed support for SpatiaLite 5.1.
...
Thanks The Epic Dev for helping with tests.
2023-10-04 19:58:27 +02:00
Mariusz Felisiak
f9cdecfb0d
Corrected wrap_socket() reference in docs/ref/settings.txt.
2023-10-04 19:53:15 +02:00
Natalia
4e790271e3
Added CVE-2023-43665 to security archive.
2023-10-04 13:05:00 -03:00
Natalia
034457941a
Added stub release notes for 4.2.7.
2023-10-04 12:33:08 -03:00
Natalia
17b51094d7
Fixed CVE-2023-43665 -- Mitigated potential DoS in django.utils.text.Truncator when truncating HTML text.
...
Thanks Wenchao Li of Alibaba Group for the report.
2023-10-04 09:22:26 -03:00
Chinmoy Chakraborty
1dae65dc63
Fixed #34657 -- Made assert(Not)Contains/assertInHTML display haystacks in error messages.
2023-10-03 10:44:36 +02:00
Mariusz Felisiak
54d9d26ebf
Used Node.js 20 for GitHub actions.
2023-10-03 10:25:31 +02:00
Mariusz Felisiak
679212a47a
Refs #34657 -- Made msg_prefix handling in assertURLEqual()/assertInHTML consistent with other assertions.
...
Co-authored-by: Chinmoy Chakraborty <chinmoy12c@gmail.com>
2023-10-03 09:25:48 +02:00
Carlton Gibson
35bbb2c9c0
Fixed #34883 -- Allowed template tags to set extra data on templates.
...
By setting a value in the `parser.extra_data` mapping, template tags
pass additional data out of the parsing context.
Any extra data set is exposed on the template via the matching
`.extra_data` attribute.
Library authors should use a key to namespace extra data. The 'django'
namespace is reserved for internal use.
2023-10-02 16:16:43 +02:00
faishalmanzar
f4e72e6523
Fixed #32602 -- Clarified wording of TestCase class.
2023-10-02 09:12:08 +02:00
Chinmoy Chakraborty
e99c7d8847
Refs #34657 -- Made assertInHTML() use unparsed needle in error messages.
2023-09-29 09:52:39 +02:00
Mariusz Felisiak
6ad0dbc8d9
Refs #15667 -- Added resetting default renderer when FORM_RENDERER is changed.
2023-09-29 08:54:13 +02:00
Dan Jacob
fe835c2355
Fixed #34878 -- Fixed autoreloader crash when FORM_RENDERER is set to TemplatesSetting.
...
Regression in 439242c594
.
2023-09-29 06:01:04 +02:00
Paolo Melchiorre
e7e8eb44a3
Fixed #34877 -- Fixed migrations crash when adding GeneratedField with output_field with params.
2023-09-28 05:50:42 +02:00
Natalia
5e4b75b78a
Added stub release notes and release date for 4.2.6, 4.1.12, and 3.2.22.
2023-09-27 14:18:40 -03:00
Mariusz Felisiak
571bab9887
Added warning about flatpages and untrusted users.
2023-09-27 19:09:10 +02:00
Mariusz Felisiak
f9e9526800
Fixed #34873 -- Added QuerySet.explain() support for GENERIC_PLAN option on PostgreSQL 16+.
2023-09-26 12:05:26 +02:00
lstaana
357365a64e
Fixed #34835 -- Made admin's changelist filters render in <nav> tag.
2023-09-26 08:45:07 +02:00
David Sanders
2128a73713
Refs #34825 -- Made SQLite backend open source database in readonly mode when using spawn.
2023-09-25 10:15:53 +02:00
David Sanders
a5905b164d
Fixed #34825 -- Avoided setting unused connections when initializing parallel workers.
2023-09-25 10:14:55 +02:00
David Sanders
4f2ae0644d
Fixed #34849 -- Avoided raising RuntimeWarning about import-time queries when apps are reinitialized with test tools.
...
Regression in fbd16438f4
.
2023-09-25 08:17:03 +02:00
Paolo Melchiorre
574ee4023e
Fixed #34861 -- Fixed crash when adding GeneratedField with some expressions.
...
Co-authored-by: Simon Charette <charette.s@gmail.com>
2023-09-22 21:01:54 +02:00
Arian
51d703a27f
Fixed #34823 -- Fixed assertTemplateUsed() context manager crash on unnamed templates.
2023-09-22 10:51:10 +02:00
toan
4de31ec680
Fixed #34858 -- Corrected resolving output_field for PositiveIntegerField.
...
Regression in 40b8a6174f
.
2023-09-22 09:33:50 +02:00
Natalia
d797243663
Fixed #34848 -- Ignored i18n_catalog.js file when building Django's translations catalog.
2023-09-22 08:20:08 +02:00
Tim Graham
b0788a0918
Fixed JSONField's test_deep_distinct for DatabaseFeatures.nulls_order_largest=False.
...
Failure observed on CockroachDB.
2023-09-22 06:25:17 +02:00
Mariusz Felisiak
779cd28acb
Fixed #34840 -- Avoided casting string base fields on PostgreSQL.
...
Thanks Alex Vandiver for the report.
Regression in 09ffc5c121
.
2023-09-22 06:01:11 +02:00
David Sanders
78b5c90753
Refs #34808 -- Doc'd that aggregation functions on empty groups can return None.
2023-09-21 12:14:15 -03:00
Fabian Braun
34ca1d3ab4
Fixed #34857 -- Made calendar "Cancel" button in admin use color variables.
2023-09-21 08:16:05 +02:00
Mariusz Felisiak
cfe27544df
Refs #34851 -- Used PostgreSQL 13 for selenium tests.
...
Follow up to 2c6ebb65c9
.
2023-09-21 08:10:51 +02:00
Mariusz Felisiak
2c6ebb65c9
Fixed #34851 -- Dropped support for PostgreSQL 12 and PostGIS 2.5.
2023-09-20 13:45:51 +02:00
Paolo Melchiorre
0b506bfe1a
Refs #31300 -- Added example to GeneratedField release notes.
2023-09-20 09:00:30 +02:00
Lily Foote
45078a204b
Defined PASSWORD_HASHERS for auth_tests.test_views.ChangelistTests.
...
auth_tests.test_views.ChangelistTests.test_view_user_password_is_readonly
depends on the password hasher having the three components algorithm,
salt and hash.
The default password hasher (PBKDF2PasswordHasher) has an extra
iterations component, breaking the test.
2023-09-20 05:35:49 +02:00