| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-12-02 | Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups. | Simon Charette | |
| As a QuerySet resolves to Query the outer column references grouping logic should be defined on the latter and proxied from Subquery for the cases where get_group_by_cols is called on unresolved expressions. Thanks Antonio Terceiro for the report and initial patch. | |||
| 2021-12-02 | Refs #32690 -- Altered lookups Query rhs alterations during initialization. | Simon Charette | |
| Having it happen at the lookup creation time ensures entry points called before the compilation phase (e.g. get_group_by_cols) don't have to duplicate the logic in charge of altering Query instances used as rhs. It also has the nice effect of reducing the amount of time the alteration logic to once as opposed to multiple times if the queryset is compiled more than once. | |||
| 2021-12-01 | Fixed #30398 -- Added CONN_HEALTH_CHECKS database setting. | Przemysław Suliga | |
| The CONN_HEALTH_CHECKS setting can be used to enable database connection health checks for Django's persistent DB connections. Thanks Florian Apolloner for reviews. | |||
| 2021-11-30 | Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵ | Claude Paroz | |
| MySQL GIS backends. Thanks Daniel Swain for the report and Arsalan Ghassemi for the initial patch. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-11-30 | Refs #25706 - Removed inline JavaScript from OpenLayers template. | Claude Paroz | |
| This allows setting a Content-Security-Policy HTTP header. | |||
| 2021-11-29 | Refs #32800 -- Renamed _sanitize_token() to _check_token_format(). | Chris Jerdonek | |
| 2021-11-29 | Fixed #32800 -- Changed CsrfViewMiddleware not to mask the CSRF secret. | Chris Jerdonek | |
| This also adds CSRF_COOKIE_MASKED transitional setting helpful in migrating multiple instance of the same project to Django 4.1+. Thanks Florian Apolloner and Shai Berger for reviews. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-11-29 | Fixed #32545 -- Improved admin widget for raw_id_fields for UUIDFields. | Shubh1815 | |
| Co-Authored-By: Jerome Leclanche <jerome@leclan.ch> | |||
| 2021-11-29 | Fixed #33322 -- Fixed loss of assigned related object when saving relation ↵ | Hannes Ljungberg | |
| with bulk_update(). | |||
| 2021-11-26 | Refs #33301 -- Made SimpleTestCase.assertFormError()/assertFormsetErrors() ↵ | Baptiste Mispelon | |
| raise ValueError for non test client responses. | |||
| 2021-11-26 | Fixed #33303 -- Changed messages' level tags on MESSAGE_TAGS setting change. | Hasan Ramezani | |
| 2021-11-25 | Fixed #32397 -- Made startapp/startproject management commands set User-Agent. | Ad Timmering | |
| This sets User-Agent to 'Django/<version>'. | |||
| 2021-11-25 | Removed unneeded can_use_chunked_reads feature flag on SQLite. | Mariusz Felisiak | |
| Unneeded since c0e3c65b9d1b26cfc38137b7666ef0e108aab77f. | |||
| 2021-11-25 | Fixed #33024 -- Fixed height of admin selector boxes in collapsed fieldset. | Shubh1815 | |
| Thanks Tom Carrick for the review. | |||
| 2021-11-24 | Fixed #4282 -- Made startapp/startproject management commands honor umask. | Ad Timmering | |
| Co-authored-by: Christian Schmitt <c.schmitt@briefdomain.de> | |||
| 2021-11-24 | Removed unneeded supports_combined_alters feature flag on Oracle. | Mariusz Felisiak | |
| supports_combined_alters is False by default. | |||
| 2021-11-23 | Fixed #33310 -- Removed unused rule from admin CSS. | Álvaro Pelegrina Fernández | |
| Unused since 30e59705fc3e3e9e8370b965af794ad6173bf92b. | |||
| 2021-11-23 | Fixed #33309 -- Fixed QuerySet.distinct() crash on mixed case annotation. | arsalan.ghassemi | |
| 2021-11-23 | Fixed #33304 -- Allowed passing string expressions to Window(order_by). | Simon Charette | |
| 2021-11-23 | Refs #33304 -- Enclosed aggregate ordering logic in an expression. | Simon Charette | |
| This greatly simplifies the implementation of contrib.postgres' OrderableAggMixin and allows for reuse in Window expressions. | |||
| 2021-11-22 | Fixed #33302 -- Made element_id optional argument for json_script template ↵ | Baptiste Mispelon | |
| filter. Added versionchanged note in documentation | |||
| 2021-11-22 | Fixed #33305 -- Fixed autodetector crash for ForeignKey with hardcoded "to" ↵ | Baptiste Mispelon | |
| attribute. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2021-11-19 | Fixed #33229 -- Fixed ↵ | SwastikTripathi | |
| BaseDatabaseOperations.adapt_datetimefield_value()/adapt_timefield_value() crash with expressions. | |||
| 2021-11-19 | Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and ↵ | Jonny Park | |
| SQLCompiler. | |||
| 2021-11-18 | Added Malay language. | jhisham | |
| 2021-11-16 | Fixed #28357 -- Fixed ModelAdmin.prepopulated_fields on newly added stacked ↵ | Shubh1815 | |
| inline. Thanks Jakob Köhler for the initial patch. | |||
| 2021-11-15 | Fixed #33287 -- Made GeoJSON serializer use json.loads() instead of eval(). | Maxim Piskunov | |
| Thanks David Wyde for the report. | |||
| 2021-11-15 | Fixed #33278 -- Improved error for connection/query attempts against ↵ | SwastikTripathi | |
| disallowed databases in tests. | |||
| 2021-11-15 | Refs #33288 -- Removed SQLite's ↵ | Simon Charette | |
| DatabaseIntrospection._get_foreign_key_constraints(). The get_relations() method returns the exact same data in a more generic format. | |||
| 2021-11-15 | Fixed #33288 -- Made SQLite introspection use information schema for relations. | Simon Charette | |
| Previous solution was using brittle and complex parsing rules to extract them from the SQL used to define the tables. Removed a now unnecessary unit test that ensured the removed parsing logic accounted for optional spacing. | |||
| 2021-11-15 | Refs #33288 -- Made SQLite introspection raise DatabaseError on nonexistent ↵ | Simon Charette | |
| tables. All the other backends behave this way and we had to make adjustments to our test suite to account for this discrepancy. This also allows SQLite's get_relations() not to raise on a nonexistent table while making sure the InspectDBTestCase.test_introspection_errors test which ensures an error during introspection is surfaced in generated models files still passes. | |||
| 2021-11-12 | Fixed #33161 -- Enabled durability check for nested atomic blocks in TestCase. | Krzysztof Jagiello | |
| Co-Authored-By: Adam Johnson <me@adamj.eu> | |||
| 2021-11-12 | Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | |
| Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. | |||
| 2021-11-12 | Moved RequestSite import to the toplevel. | Claude Paroz | |
| 2021-11-11 | Fixed #33269 -- Made AnonymousUser/PermissionsMixin.has_perms() raise ↵ | Lie Ryan | |
| ValueError on string or non-iterable perm_list. | |||
| 2021-11-11 | Fixed #6106 -- Prevented makemessages from changing .po files when up to date. | Ad Timmering | |
| Co-authored-by: Daniyal Abbasi <abbasi.daniyal98@gmail.com> | |||
| 2021-11-10 | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | |
| Thanks Simon Charette for the report. | |||
| 2021-11-10 | Fixed DatabaseIntrospection.get_relations() docstring. | Tim Graham | |
| The foreign keys are "in" the given table, not "to" it. | |||
| 2021-11-09 | Refs #33263 -- Added warning to BaseDeleteView when delete() method is ↵ | Mariusz Felisiak | |
| overridden. Follow up to 3a45fea0832c5910acee6e0d29f230f347a50462. | |||
| 2021-11-08 | Fixed #33264 -- Made test runner return non-zero error code for unexpected ↵ | Baptiste Mispelon | |
| successes. | |||
| 2021-11-08 | Fixed #33257 -- Fixed Case() and ExpressionWrapper() with decimal values on ↵ | Matthijs Kooijman | |
| SQLite. | |||
| 2021-11-08 | Fixed #32980 -- Made models cache related managers. | Keryn Knight | |
| 2021-11-05 | Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ↵ | Mariusz Felisiak | |
| ManifestStaticFilesStorage." This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb. `export` and `import` directives have several syntax variants and not all of them were properly covered. Thanks Hervé Le Roy for the report. | |||
| 2021-11-05 | Fixed #33235 -- Removed "for = ..." from MultiWidget's <label>. | David Smith | |
| This improves accessibility for screen reader users. | |||
| 2021-11-04 | Fixed #33237 -- Fixed detecting source maps in ManifestStaticFilesStorage ↵ | Carlton Gibson | |
| for multiline files. Switched regex to multiline mode in order to match per-line, rather than against the whole file. Thanks to Joseph Abrahams for the report. Regression in 781b44240a06f0c868254f40f36ce46c927f56d1. | |||
| 2021-11-04 | Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete ↵ | Guilherme Martins Crocetti | |
| range fields. | |||
| 2021-11-04 | Fixed #33262 -- Fixed crash of conditional aggregation on Exists(). | Hannes Ljungberg | |
| 2021-11-03 | Fixed #33260 -- Fixed crash when chaining QuerySet.exists() after ↵ | Hannes Ljungberg | |
| select_for_update(of=()). | |||
| 2021-11-03 | Fixed #32996 -- Cached PathInfos on relations. | Keryn Knight | |
| PathInfo values are ostensibly static over the lifetime of the object for which they're requested, so the data can be memoized, quickly amortising the cost over the process' duration. | |||
| 2021-11-03 | Fixed #33252 -- Made cache middlewares thread-safe. | Iuri de Silvio | |
