summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2024-03-04Refs #21286 -- Removed invalid commented out models and tests from ↵Adam Zapletal
serializer tests. FileField/ImageField cannot be primary keys, so serialization support for this case will not be implemented. XMLField was removed in d1290b5b43485c7018ba92981d34c1f96614924e.
2024-03-04Updated fuzzy translations in tests.i18n.patterns.Mariusz Felisiak
Follow up to 9fd1b6f3f815aebee7f67eed5510c720be6d0d5a.
2024-03-04Added stub release notes for 5.0.4.Mariusz Felisiak
2024-03-04Added CVE-2024-27351 to security archive.Mariusz Felisiak
2024-03-04Refs CVE-2024-27351 -- Forwardported release notes and tests.Shai Berger
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-03-04Fixed #35265 -- Added AdminSite tests for changing titles.Kasun Herath
2024-03-04Refs #9847 -- Added tests for handler403 resolution.Adam Johnson
2024-03-02Fixed #35250 -- Made URL system checks use uncompiled regexes.Adam Johnson
2024-03-02Refs #35250 -- Avoided double conversion in RoutePattern.Adam Johnson
2024-03-02Refs #26431 -- Added more test for translated path().Adam Johnson
2024-03-02Updated translation catalogs in tests.i18n.patterns.Adam Johnson
2024-03-01Refs #33497 -- Added connection pool support for PostgreSQL.Sarah Boyce
Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-03-01Made runserver close database connections from migration checks.Florian Apolloner
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses.
2024-02-29Fixed #35234 -- Added system checks for invalid model field names in ↵Simon Charette
ExclusionConstraint.expressions.
2024-02-29Refs #35234 -- Moved constraint system checks to Check/UniqueConstraint methods.Simon Charette
2024-02-29Fixed #35198 -- Fixed facet filters crash on querysets with no primary key.Shafiya Adzhani
Thanks Simon Alef for the report. Regression in 868e2fcddae6720d5713924a785339d1665f1bb9.
2024-02-29Fixed typo in docs/ref/contrib/admin/index.txt.kbehlers
2024-02-29Refs #35090 -- Fixed urlpatterns.tests.SimplifiedURLTests when run in reverse.Mariusz Felisiak
2024-02-28Removed #django-geo IRC channel in docs.Mariusz Felisiak
It's been inactive for several years.