summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-21Optimized django.template.autoreload.get_template_directories() a bit.Adam Johnson
2021-12-21Fixed #33374 -- Fixed ExpressionWrapper annotations with full queryset.David Wobrock
2021-12-20Removed a Python error message dependency in ↵Jacob Walls
test_questioner_no_default_bad_user_entry_code().
2021-12-20Increased test coverage of django.db.migrations.questioner.Jacob Walls
2021-12-20Refs #27674 -- Added tests for GISModelAdmin.gis_widget_kwargs.Alexander Filimonov
2021-12-20Fixed #33367 -- Fixed URLValidator crash in some edge cases.mendespedro
2021-12-20Fixed #33368 -- Fixed parse_duration() crash on invalid separators for ↵mendespedro
decimal fractions.
2021-12-17Changed signatures of setting_changed signal receivers.Adam Johnson
2021-12-17Fixed #33366 -- Fixed case handling with swappable setting detection in ↵Simon Charette
migrations autodetector. The migration framework uniquely identifies models by case insensitive labels composed of their app label and model names and so does the app registry in most of its methods (e.g. AppConfig.get_model) but it wasn't the case for get_swappable_settings_name() until this change. This likely slipped under the radar for so long and only regressed in b9df2b74b98b4d63933e8061d3cfc1f6f39eb747 because prior to the changes related to the usage of model states instead of rendered models in the auto-detector the exact value settings value was never going through a case folding hoop. Thanks Andrew Chen Wang for the report and Keryn Knight for the investigation.
2021-12-16Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest.Mariusz Felisiak
Regression in 3fd82a62415e748002435e7bad06b5017507777c. Thanks Terence Honles for the report.
2021-12-16Fixed #30127 -- Deprecated name argument of cached_property().mgaligniana
2021-12-16Fixed admin CSS for calendar widget for RTL languages.ahmadekhalili
Thanks Theodore Ni and Shai Berger for reviews.
2021-12-16Used subTest() in forms.URLField() tests.Mariusz Felisiak
2021-12-15Refs #33365, Refs #30530 -- Doc'd re_path() behavior change in Django ↵Mariusz Felisiak
2.2.25, 3.1.14, and 3.2.10. Follow up to d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6.
2021-12-15Fixed #33316 -- Added pagination to admin history view.mgaligniana
2021-12-15Refs #33316 -- Moved paginator styles to base.css.mgaligniana
2021-12-15Fixed #16063 -- Adjusted admin changelist searches spanning multi-valued ↵Jacob Walls
relationships. This reduces the likelihood of admin searches issuing queries with excessive joins.
2021-12-14Fixed unescape_string_literal() crash on empty strings.Florian Apolloner
2021-12-14Added test for ValueErrors in unescape_string_literal().Florian Apolloner
2021-12-14Fixed #33358 -- Fixed handling timedelta < 1 day in schema operations on Oracle.mdalp
2021-12-14Fixed #33361 -- Fixed Redis cache backend crash on booleans.Jeremy Lainé
2021-12-14Refs #33361 -- Added Added DummyCache.set() test for boolean values.Jeremy Lainé
2021-12-13Improved wording in password validators docs and docstrings.Adam Johnson
2021-12-13Fixed #33338 -- Doc'd that never_cache() decorator set Expires header.mgaligniana
2021-12-13Refs #33338 -- Added never_cache() tests for Expires header.mgaligniana
2021-12-13Refs #33355 -- Fixed Trunc() with years < 1000 on SQLite.Adam Johnson
Thanks to Nick Pope for spotting the bug in Code Review. Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
2021-12-13Refs #33355 -- Moved Trunc() assertions for invalid arguments and ISO 8601 ↵Mariusz Felisiak
week to separate tests.
2021-12-13Fixed #33351 -- Made path()/re_path() raise TypeError when kwargs argument ↵mendespedro
is not a dict.
2021-12-13Corrected example in models.DecimalField docs.Beomsoo Kim
2021-12-13Updated link to Microsoft SQL Server backend.Wayne Lambert
2021-12-10Refs #32502 -- Avoided table rebuild when adding fields with no default on ↵Mariusz Felisiak
SQLite.
2021-12-10Fixed DatabaseFeatures.requires_literal_defaults on SQLite.Mariusz Felisiak
This flag is currently unused on SQLite because it doesn't support dropping a DEFAULT clause, however it requires literal defaults, rather than parameterized ones, so we can set it for clarity.
2021-12-10Refs #32502 -- Added SchemaEditor.prepare_default() on SQLite.Mariusz Felisiak
2021-12-10Moved ManagementForm's fields to class attributes.Adam Johnson
This helps introspection, and it follows the comment in BaseForm.__init__() to avoid changing base_fields. Thanks to Silvio Gutierrez and Baptiste Mispelon for investigating.
2021-12-10Added test for field names of ManagementForm.Adam Johnson
2021-12-10Corrected return value of ForeignKey.db_check().Adam Johnson
Field.db_check() should return None or a SQL string. Returning [] happened to work because it’s falsey.
2021-12-09Fixed inspectdb.tests.InspectDBTestCase.test_custom_fields() on SQLite 3.37+.Mariusz Felisiak
Use FlexibleFieldLookupDict which is case-insensitive mapping because SQLite 3.37+ returns some data type names upper-cased e.g. TEXT.
2021-12-09Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache.Arsa
2021-12-09Refs #32338 -- Added Boundfield.legend_tag().David Smith
2021-12-08Fixed #33319 -- Fixed crash when combining with the | operator querysets ↵Ömer Faruk Abacı
with aliases that conflict.
2021-12-08Refs #33319 -- Added note about commutation of QuerySet's | operator.Ömer Faruk Abacı
2021-12-08Refs #33319 -- Added comment about keys/values assertion in ↵Ömer Faruk Abacı
Query.change_aliases().
2021-12-08Fixed #33346 -- Fixed SimpleTestCase.assertFormsetError() crash on a formset ↵Baptiste Mispelon
named "form". Thanks OutOfFocus4 for the report. Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
2021-12-08Fixed #19721 -- Allowed admin filters to customize the list separator.Shreya Bamne
2021-12-08Refs #19721 -- Corrected list formatting in admin filters docs.Shreya Bamne
2021-12-08Refs #32290 -- Optimized construct_relative_path() by delay computing ↵Keryn Knight
has_quotes.
2021-12-07Refs #25265 -- Allowed customizing Query's datastructure classes.Erik Cederstrand
2021-12-07Improved release notes wording for template-based form rendering.Nick Pope
2021-12-07Fixed #31765 -- Enforced enhanced ALTER TABLE behavior for SQLite connections.Adam Johnson
2021-12-07Added stub release notes for 4.0.1.Mariusz Felisiak