“Paulo
fc169b9df5
support for section without link
2024-03-11 18:12:07 -03:00
“Paulo
d74c599da6
support for section without link
2024-03-11 16:51:46 -03: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
Mariusz Felisiak
241adf678f
Used sys_platform in tests requirements.
...
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-05 13:08:23 +01:00
Josh Smeaton
6e195b800a
Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs.
...
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-05 11:22:54 +01:00
Adam Johnson
ab22b7c65f
Fixed #35266 -- Deferred formatting in RelatedField._check_clashes().
2024-03-04 20:26:23 +01:00
Leandro de Souza
368a8a3a83
Fixed #35261 -- Corrected Media JS example of object-based paths in docs.
...
`rel` attribute is not valid on `<link>` tags.
2024-03-04 18:59:49 +01:00
erosselli
3fcef50472
Added a GitHub pull request template.
...
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>
2024-03-04 14:07:37 -03:00
Adam Zapletal
3d4fe39bac
Refs #21286 -- Removed invalid commented out models and tests from serializer tests.
...
FileField/ImageField cannot be primary keys, so serialization support
for this case will not be implemented.
XMLField was removed in d1290b5b43
.
2024-03-04 11:38:18 +01:00
Mariusz Felisiak
838659ea21
Updated fuzzy translations in tests.i18n.patterns.
...
Follow up to 9fd1b6f3f8
.
2024-03-04 11:24:21 +01:00
Mariusz Felisiak
337e37f3bb
Added stub release notes for 5.0.4.
2024-03-04 10:29:33 +01:00
Mariusz Felisiak
da39ae4b5f
Added CVE-2024-27351 to security archive.
2024-03-04 10:10:35 +01:00
Shai Berger
f6ad8c7676
Refs CVE-2024-27351 -- Forwardported release notes and tests.
...
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-03-04 08:22:00 +01:00
Kasun Herath
f5ed4306bb
Fixed #35265 -- Added AdminSite tests for changing titles.
2024-03-04 05:34:42 +01:00
Adam Johnson
c187417611
Refs #9847 -- Added tests for handler403 resolution.
2024-03-04 05:24:36 +01:00
Adam Johnson
71d5eafb05
Fixed #35250 -- Made URL system checks use uncompiled regexes.
2024-03-02 19:54:21 +01:00
Adam Johnson
5dfcf343cd
Refs #35250 -- Avoided double conversion in RoutePattern.
2024-03-02 19:54:21 +01:00
Adam Johnson
595738296f
Refs #26431 -- Added more test for translated path().
2024-03-02 19:54:21 +01:00
Adam Johnson
9fd1b6f3f8
Updated translation catalogs in tests.i18n.patterns.
2024-03-02 19:54:21 +01:00
Sarah Boyce
fad334e1a9
Refs #33497 -- Added connection pool support for PostgreSQL.
...
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-03-01 09:01:18 +01:00
Florian Apolloner
bcccea3ef3
Made runserver close database connections from migration checks.
2024-03-01 08:13:59 +01:00
Simon Charette
daf7d482db
Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
...
Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses.
2024-03-01 07:15:32 +01:00
Simon Charette
f82c67aa21
Fixed #35234 -- Added system checks for invalid model field names in ExclusionConstraint.expressions.
2024-02-29 12:22:17 +01:00
Simon Charette
0fb104dda2
Refs #35234 -- Moved constraint system checks to Check/UniqueConstraint methods.
2024-02-29 10:38:19 +01:00
Shafiya Adzhani
a738281265
Fixed #35198 -- Fixed facet filters crash on querysets with no primary key.
...
Thanks Simon Alef for the report.
Regression in 868e2fcdda
.
2024-02-29 10:01:18 +01:00
kbehlers
3cb1ba50cc
Fixed typo in docs/ref/contrib/admin/index.txt.
2024-02-29 08:28:20 +01:00
Mariusz Felisiak
0e84e70bc8
Refs #35090 -- Fixed urlpatterns.tests.SimplifiedURLTests when run in reverse.
2024-02-29 08:22:03 +01:00