summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-06Refs #31617 -- Added an id for helptext in admin forms.David Smith
2022-04-06Fixed #33348 -- Changed ↵Baptiste Mispelon
SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset. Instead of taking a response object and a context name for the form/formset, the two methods now take the object directly.
2022-04-05Moved remaining SimpleTestCase.assertFormError()/assertFormsetErrors() tests ↵Mariusz Felisiak
to test_utils. This also removes redundant tests in test_client_regress. Follow up to 68144f40490b2572c8da4341742b9e387e3f6bdd.
2022-04-04Added stub release notes and release date for 4.0.4, 3.2.13, and 2.2.28.Mariusz Felisiak
2022-04-04Fixed #33605 -- Fixed migration crash when altering RegexValidator to ↵Brian Helba
pre-compiled regular expression.
2022-04-01Fixed #33613 -- Made createsuperuser detect uniqueness of USERNAME_FIELD ↵Lucidiot
when using Meta.constraints.
2022-03-31Fixed #32129 -- Adjusted the docs for session expiry helpers.sarahboyce
Updated the docs for `get_session_cookie_age`, `get_expiry_age`, and `get_expiry_date` to clarify their intended usage by session backends when saving the session.
2022-03-31Fixed #33397 -- Corrected resolving output_field for ↵Luke Plant
DateField/DateTimeField/TimeField/DurationFields. This includes refactoring of CombinedExpression._resolve_output_field() so it no longer uses the behavior inherited from Expression of guessing same output type if argument types match, and instead we explicitly define the output type of all supported operations. This also makes nonsensical operations involving dates (e.g. date + date) raise a FieldError, and adds support for automatically inferring output_field for cases such as: * date - date * date + duration * date - duration * time + duration * time - time
2022-03-31Refs #33397 -- Added register_combinable_fields().Luke Plant
2022-03-31Removed unnecessary Query.get_loaded_field_names_cb() and ↵Mariusz Felisiak
Query.deferred_to_data()'s callback argument.
2022-03-31Refs #24020 -- Removed redundant Query.get_loaded_field_names().Mariusz Felisiak
get_loaded_field_names() is no longer called in multiple places (see 0c7633178fa9410f102e4708cef979b873bccb76) and it's redundant with SQLCompiler.deferred_to_columns().
2022-03-31Updated select_related_descend() comment.Mariusz Felisiak
Outdated since 0c7633178fa9410f102e4708cef979b873bccb76.
2022-03-30Refs #32339 -- Added use_fieldset to Widget.David
2022-03-30Refs #33397 -- Added extra tests for resolving an output_field of ↵Luke Plant
CombinedExpression.
2022-03-30Fixed #33598 -- Reverted "Removed unnecessary reuse_with_filtered_relation ↵Mariusz Felisiak
argument from Query methods." Thanks lind-marcus for the report. This reverts commit 0c71e0f9cfa714a22297ad31dd5613ee548db379. Regression in 0c71e0f9cfa714a22297ad31dd5613ee548db379.
2022-03-29Refs #32365 -- Deprecated django.utils.timezone.utc.Carlton Gibson
2022-03-29Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs.Alokik Vijay
Thanks Florian Apolloner for the review and implementation idea.
2022-03-29Updated Oracle docs links to Oracle 21c.Mariusz Felisiak
2022-03-29Bumped versions in pre-commit and npm configurations.Mariusz Felisiak
2022-03-29Updated various links to HTTPS and new locations.Mariusz Felisiak
2022-03-29Fixed #15619 -- Deprecated log out via GET requests.René Fleschenberg
Thanks Florian Apolloner for the implementation idea. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-03-28Corrected models.FileField signature in docs.Sih Sîng-hông薛丞宏
2022-03-26Reverted "Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+."Mariusz Felisiak
This reverts commit 1d9d082acf6e152c06833bb9698f88d688b95e40.
2022-03-25Fixed #33564 -- Confirmed support for PROJ 9.X.David Smith
2022-03-25Used Cmake in GEOS installation docs.David Smith
2022-03-25Fixed #7497 -- Allowed overriding the order of apps and models in admin.adontz
2022-03-25Refs #7497 -- Added assertion for the default order of models in ↵Mariusz Felisiak
AdminSite.app_index().
2022-03-25Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+.Mariusz Felisiak
See https://github.com/pallets/jinja/pull/1621.
2022-03-24Refs #15619 -- Logged out with POST requests in admin.Mariusz Felisiak
2022-03-24Refs #33577 -- Used addCleanup() to remove .aux file in GDALBandTests.Mariusz Felisiak
Follow up to 970f5bf5035d8c99b0ff883f984b60cf531dddbe.
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
Remaining test case ensures that uses of the alias are mapped canonically by the migration writer.
2022-03-23Fixed #33569 -- Added SECURE_PROXY_SSL_HEADER support for list of protocols ↵Thomas Schmidt
in the header value.
2022-03-23Refs #32365 -- Made migration writer use datetime.timezone.utc.Carlton Gibson
2022-03-22Fixed #33544 -- Expanded the TEMPLATES section of the Deployment checklist.Samuel Hartmann
Clarified that the cached template loader is enabled by default when DEBUG = False.
2022-03-22Fixed #33585 -- Made example git repo URLs use HTTPS protocol.Carlton Gibson
The SSH-based checkout requires additional configuration, which is beneficial to defer for new contributors. Follow up to 3c6a4fdb6d828a03e368632d88f8261cc30104da. This commit updates the remaining examples.
2022-03-22Refs #31676 -- Used term "merger" instead of "committer" in docs.Mariusz Felisiak
Follow up to caa2dd08c4722c8702588f5dfe1fa4c506aa66fc. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-03-22Refs #30581 -- Fixed DatabaseFeatures.bare_select_suffix on MySQL < 8 and ↵Gagaro
MariaDB < 10.4.
2022-03-22Refs #28592 -- Improved some headings in CSRF how-to.Tomas McNamer
2022-03-21Fixed #33256 -- Fixed schema test failures when using --keepdb.likecodingloveproblems
2022-03-21Fixed #33592 -- Fixed "View on Site" links in custom admin site.Stefan Wehrmeyer
2022-03-19Renamed Jenkins wiki page to CI.Mariusz Felisiak
Jenkins is no longer the only CI tool.
2022-03-18Fixed #33582 -- Fixed deserializing natural keys with foreing key ↵François Granade
dependencies in a multiple database setup.
2022-03-18Fixed isolation of FeaturesTests.test_supports_json_field_operational_error().Mariusz Felisiak
2022-03-18Added packaging tools to GitHub actions.Mariusz Felisiak
2022-03-17Added missing backticks to function names.Mariusz Felisiak
2022-03-17Refs #31169 -- Prevented infinite loop in parallel tests with custom test ↵David Smith
runner when using spawn. Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-03-17Prevented initialization of unused database connections.Florian Apolloner
2022-03-17Moved ensure_defaults() and prepare_test_settings() logic to ↵Florian Apolloner
ConnectionHandler.configure_settings().
2022-03-17Removed usage of django.db.utils.ConnectionHandler.databases.Florian Apolloner
2022-03-17Refs #28592 -- Created a new CSRF how-to document.tommcn