ac6410e | Carlton Gibson | 17 May 2022, 13:05:44 UTC | [4.1.x] Bumped version for 4.1 alpha 1 release. | 17 May 2022, 13:05:44 UTC |
fad2e59 | Mariusz Felisiak | 17 May 2022, 11:16:23 UTC | [4.1.x] Refs #33379 -- Fixed minimum supported version of MariaDB. Backport of 2cec020f5bc462954d902bdad1a5955852cecff6 from main | 17 May 2022, 13:00:12 UTC |
d1f1a01 | Mariusz Felisiak | 17 May 2022, 10:17:47 UTC | [4.1.x] Updated source translation catalogs. | 17 May 2022, 12:13:35 UTC |
2a5cfe8 | Carlton Gibson | 17 May 2022, 10:12:54 UTC | [4.1.x] Bumped django_next_version in docs config. | 17 May 2022, 10:12:54 UTC |
5325a63 | Carlton Gibson | 17 May 2022, 08:09:39 UTC | Updated man page for Django 4.1 alpha. | 17 May 2022, 09:21:08 UTC |
d6e3756 | Carlton Gibson | 17 May 2022, 08:07:56 UTC | Removed empty sections from 4.1 release notes. | 17 May 2022, 09:21:08 UTC |
d126eba | David Smith | 05 May 2022, 12:26:09 UTC | Refs #32339 -- Deprecated default.html form template. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | 17 May 2022, 09:16:54 UTC |
6af8673 | Alokik Vijay | 17 May 2022, 07:58:26 UTC | Update docs/releases/4.1.txt Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | 17 May 2022, 08:50:09 UTC |
7f3cfaa | Alokik Vijay | 17 May 2022, 07:46:26 UTC | Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs. Moved the functionality of URLResolver._is_callback(), URLResolver._callback_strs, URLPattern.lookup_str() to django.contrib.admindocs. | 17 May 2022, 08:50:09 UTC |
2a5d2ee | Collin Anderson | 05 May 2022, 19:23:54 UTC | Fixed #33683 -- Document HttpResponseBase and allow import from django.http | 17 May 2022, 07:51:16 UTC |
97f124f | David Wobrock | 04 May 2022, 14:03:09 UTC | Refs #27064 -- Made migrations generate RenameIndex operations when moving indexes from index_together to Meta.indexes. | 17 May 2022, 05:21:36 UTC |
a098cde | David Wobrock | 11 May 2022, 14:05:50 UTC | Refs #27064 -- Refactored out MigrationAutodetector.create_renamed_fields(). | 17 May 2022, 04:20:01 UTC |
c6cec3c | David Wobrock | 03 May 2022, 12:43:06 UTC | Refs #27064 -- Made migrations generate RenameIndex operations when renaming Meta.indexes. | 16 May 2022, 15:46:24 UTC |
11310e9 | David Wobrock | 16 May 2022, 07:57:49 UTC | Fixed #33710 -- Made RenameIndex operation a noop when the old and new name match. | 16 May 2022, 08:36:56 UTC |
6474801 | Mariusz Felisiak | 16 May 2022, 07:32:40 UTC | Refs #33685 -- Doc'd that using PostgreSQL's service names for testing purposes is not supported. | 16 May 2022, 07:32:40 UTC |
76af861 | Marcelo Galigniana | 14 May 2022, 01:51:12 UTC | Fixed #27550 -- Allowed GEOSGeometry.normalize() to return a normalized clone. | 16 May 2022, 04:46:53 UTC |
d27e6b2 | Mariusz Felisiak | 16 May 2022, 04:17:40 UTC | Fixed #33681 -- Made Redis client pass CACHES["OPTIONS"] to a connection pool. Thanks Ben Picolo for the report. | 16 May 2022, 04:17:40 UTC |
d367704 | Nick Pope | 12 May 2022, 10:54:29 UTC | Added backward compatibility test for ConnectionHandler.databases property. The ConnectionHandler.databases property is no longer used within Django, but it is maintained for backward compatibility with 3rd party packages that have used this private API in the past. | 13 May 2022, 10:01:07 UTC |
c112f83 | Mariusz Felisiak | 13 May 2022, 09:23:21 UTC | Fixed #33704 -- Updated postgres_tests migrations. | 13 May 2022, 09:23:21 UTC |
19dc3f0 | 非法操作 | 13 May 2022, 03:16:15 UTC | Fixed typo in Query.clone()'s docstring. | 13 May 2022, 04:56:20 UTC |
eacd497 | David Wobrock | 02 May 2022, 15:22:54 UTC | Refs #27064 -- Added RenameIndex migration operation. | 12 May 2022, 18:44:03 UTC |
20e65a3 | Nick Pope | 12 May 2022, 13:13:51 UTC | Made closing in connection handlers more DRY. | 12 May 2022, 13:13:51 UTC |
3a82b5f | Kapil Bansal | 12 May 2022, 09:30:47 UTC | Fixed #32559 -- Added 'step_size’ to numeric form fields. Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at> | 12 May 2022, 12:16:52 UTC |
68da6b3 | Mariusz Felisiak | 12 May 2022, 09:30:03 UTC | Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy and Expression.asc()/desc(). Thanks Allen Jonathan David for the initial patch. | 12 May 2022, 09:30:03 UTC |
2798c93 | Ed Rivas | 05 May 2022, 00:10:53 UTC | Fixed #29538 -- Fixed crash of ordering by related fields when Meta.ordering contains expressions. Thanks Simon Charette for the review. | 12 May 2022, 05:19:16 UTC |
34e2148 | Carlton Gibson | 10 May 2022, 10:12:17 UTC | Refs #33173 -- Removed use of deprecated cgi module. https://peps.python.org/pep-0594/#cgi | 11 May 2022, 12:06:31 UTC |
02dbf16 | Mariusz Felisiak | 11 May 2022, 07:13:45 UTC | Fixed #33691 -- Deprecated django.contrib.auth.hashers.CryptPasswordHasher. | 11 May 2022, 07:13:45 UTC |
262fde9 | Marc Seguí Coll | 07 May 2022, 22:53:13 UTC | Fixed #33622 -- Allowed customizing error messages for invalid number of forms. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | 10 May 2022, 11:42:31 UTC |
6671058 | Gagaro | 31 January 2022, 15:04:13 UTC | Fixed #30581 -- Added support for Meta.constraints validation. Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | 10 May 2022, 09:22:23 UTC |
441103a | Mariusz Felisiak | 10 May 2022, 07:57:28 UTC | Refs #33173, Refs #30451 -- Fixed ResourceWarning from unclosed body files in ASGI handler on Python 3.11+. | 10 May 2022, 07:57:28 UTC |
439cd73 | Mariusz Felisiak | 09 May 2022, 08:38:11 UTC | Refs #33173 -- Fixed test_dateparse tests on Python 3.11+. date/datetime/time.fromisoformat() support any valid ISO 8601 format in Python 3.11+, see https://github.com/python/cpython/issues/80010. | 09 May 2022, 08:38:11 UTC |
21d8ea4 | Nikita Sobolev | 06 May 2022, 07:50:46 UTC | Corrected extract_views_from_urlpatterns()'s docstring. | 06 May 2022, 07:50:46 UTC |
dddc8bc | Daniel Hahler | 04 May 2022, 09:38:12 UTC | Fixed #33679 -- Fixed the last inline's id in admin for users without add permissions. | 06 May 2022, 06:36:04 UTC |
faab9e6 | Ali Toosi | 05 May 2022, 09:32:07 UTC | Fixed #33680 -- Corrected example of customizing model loading in docs. | 06 May 2022, 04:42:03 UTC |
ec56593 | David Smith | 05 May 2022, 07:21:47 UTC | Fixed #32339 -- Added div.html form template. | 05 May 2022, 12:32:43 UTC |
27b07a3 | Mariusz Felisiak | 05 May 2022, 04:44:34 UTC | Refs #30581 -- Moved CheckConstraint tests for conditional expressions to migrations.test_operations. This allows avoiding warning in tests about using RawSQL in CheckConstraints. | 05 May 2022, 04:44:34 UTC |
c5cc750 | Stefan Brand | 04 May 2022, 15:31:42 UTC | Corrected example in Polygon docstring. | 04 May 2022, 15:31:42 UTC |
8f04473 | David Wobrock | 02 May 2022, 12:43:35 UTC | Fixed #25105 -- Checked deferred constraints before updating rows on PostgreSQL. | 04 May 2022, 10:15:00 UTC |
fde946d | Carlton Gibson | 03 May 2022, 14:07:01 UTC | Refs #32339 -- Restructured outputting HTML form docs. In the topic doc, promoted the Reusable form templates section. In the reference, re-grouped and promoted the default __str__() rendering path, and then gathered the various as_*() helpers subsequently. Thanks to David Smith for review. | 04 May 2022, 09:52:48 UTC |
5d91dc8 | Gagaro | 31 January 2022, 15:04:13 UTC | Refs #30581 -- Added Q.check() hook. | 04 May 2022, 06:47:52 UTC |
1109e66 | Simon Charette | 04 May 2022, 06:31:59 UTC | Refs #33646 -- Reduced sync_to_async hops on async QuerySet iteration. Until we add support for truly asynchronous database backends it's actually detrimental to have complete set retrieval require multiple hops between sync and async emulated contexts via asgiref. By defaulting to sending the whole sync _fetch_all() to the current context thread pool we reduce unncessary work when dealing with large result sets since the queryset cannot be iterated anyway before all results are retrieved and cached. | 04 May 2022, 06:31:59 UTC |
37470bb | Mariusz Felisiak | 04 May 2022, 04:28:51 UTC | Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4. | 04 May 2022, 04:28:51 UTC |
9d04711 | Gagaro | 03 May 2022, 12:06:42 UTC | Refs #30581 -- Added Q.flatten(). | 03 May 2022, 13:31:53 UTC |
df22566 | Alokik Vijay | 30 April 2022, 15:59:51 UTC | Fixed #33658 -- Doc'd ModelChoiceField.blank attribute. Thanks Mariusz Felisiak for reviewing. | 03 May 2022, 12:23:00 UTC |
aa8b927 | Mariusz Felisiak | 03 May 2022, 12:22:34 UTC | Fixed CoveringIndexTests.test_covering_partial_index() when DEFAULT_INDEX_TABLESPACE is set. | 03 May 2022, 12:22:34 UTC |
3b898ea | Collin Anderson | 26 April 2022, 18:15:26 UTC | Fixed #29854 -- Made _all_related_fields() return deterministically ordered fields. Thanks to Rick Yang and Baptiste Mispelon for the investigation. | 03 May 2022, 08:01:45 UTC |
c5fd5e3 | Carlton Gibson | 03 May 2022, 07:18:42 UTC | Updated release date for Django 4.0.5. | 03 May 2022, 07:18:42 UTC |
f74d4ca | Hrushikesh Vaidya | 03 May 2022, 06:29:51 UTC | Fixed #33667 -- Used --header-branding-color for branding headers in admin. | 03 May 2022, 06:29:51 UTC |
271a8e7 | Mariusz Felisiak | 27 April 2022, 09:30:43 UTC | Refs #33646 -- Made QuerySet.raw() async-compatible. | 02 May 2022, 08:52:33 UTC |
7792617 | Mariusz Felisiak | 27 April 2022, 09:24:43 UTC | Refs #33646 -- Added RawModelIterable. | 02 May 2022, 08:52:33 UTC |
aca9bb2 | David Wobrock | 28 April 2022, 15:23:15 UTC | Fixed #33413 -- Made migrations propage collations to related fields. | 02 May 2022, 06:13:38 UTC |
694cf45 | Tim Graham | 02 May 2022, 01:44:04 UTC | Removed 'tests' path prefix in a couple tests. | 02 May 2022, 04:21:18 UTC |
1b3a949 | Mariusz Felisiak | 29 April 2022, 19:43:55 UTC | Refs #33671 -- Fixed migrations crash when adding collation to a primary key on Oracle. | 29 April 2022, 19:43:55 UTC |
f0ba799 | Clemens Wolff | 29 April 2022, 19:17:27 UTC | Refs #30426 -- Updated XFrameOptionsMiddleware docstring. Follow up to 05d0eca635853564c57e639ac5590674a7de2ed6. | 29 April 2022, 19:17:27 UTC |
b34238a | Mariusz Felisiak | 29 April 2022, 18:16:34 UTC | Fixed #33670 -- Fixed altering primary key on SQLite. | 29 April 2022, 18:16:34 UTC |
562e3bc | Steven DeMartini | 28 April 2022, 19:15:40 UTC | Refs #23435 -- Added note about GenericForeignKey indexes to docs. | 29 April 2022, 05:48:37 UTC |
87da283 | David Wobrock | 28 April 2022, 15:23:15 UTC | Refs #33413 -- Added collation to CharField/TextField's db_parameters. | 29 April 2022, 04:30:15 UTC |
aa28c39 | mpachas | 28 April 2022, 13:12:15 UTC | Fixed #33661 -- Corrected Catalan date-format localization. Changed DATE_FORMAT, DATETIME_FORMAT and MONTH_DAY_FORMAT to use E placeholder (Month, locale specific alternative) to handle both “de gener” and contracted “d’abril” cases. Thanks to Ferran Jovell for review. | 28 April 2022, 13:12:15 UTC |
ce586ed | David | 11 March 2022, 08:11:42 UTC | Removed hyphen from pre-/re- prefixes. "prepopulate", "preload", and "preprocessing" are already in the spelling_wordlist. This also removes hyphen from double "e" combinations with "pre" and "re", e.g. preexisting, preempt, reestablish, or reenter. See also: - https://ahdictionary.com/word/search.html?q=rerun - https://ahdictionary.com/word/search.html?q=recreate - https://ahdictionary.com/word/search.html?q=predetermined - https://ahdictionary.com/word/search.html?q=reuse - https://ahdictionary.com/word/search.html?q=reopening | 28 April 2022, 08:44:14 UTC |
33e89de | David | 11 March 2022, 11:20:56 UTC | Changed "stdlib" to "Standard Library" in docs/releases/1.9.txt. | 28 April 2022, 08:44:14 UTC |
2ed6f20 | David | 10 March 2022, 14:17:47 UTC | Added links to Solr and Haystack in docs. | 28 April 2022, 08:44:14 UTC |
51874dd | David | 10 March 2022, 09:20:25 UTC | Added backticks to code literals in various docs. | 28 April 2022, 08:44:14 UTC |
15b888b | David | 11 March 2022, 10:27:21 UTC | Changed "refactorings" to "refactoring" in docs/releases/1.0.txt. | 28 April 2022, 08:44:09 UTC |
1c2bf80 | David | 10 March 2022, 09:17:49 UTC | Changed "ie." to "i.e." in docs. | 28 April 2022, 08:37:06 UTC |
476d4d5 | Carlton Gibson | 26 April 2022, 14:01:59 UTC | Refs #32339 -- Allowed renderer to specify default form and formset templates. Co-authored-by: David Smith <smithdc@gmail.com> | 27 April 2022, 08:21:04 UTC |
8320964 | Carlton Gibson | 21 April 2022, 12:32:52 UTC | Refs #32339 -- Added base form renderer to docs. | 27 April 2022, 08:21:04 UTC |
58b27e0 | Andrew Godwin | 08 September 2021, 16:01:53 UTC | Fixed #33646 -- Added async-compatible interface to QuerySet. Thanks Simon Charette for reviews. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | 26 April 2022, 18:25:23 UTC |
27aa703 | Marcelo Galigniana | 14 February 2022, 03:03:53 UTC | Fixed #27471 -- Made admin's filter choices collapsable. | 26 April 2022, 06:44:31 UTC |
37602e4 | L | 22 April 2022, 06:51:39 UTC | Fixed #33656 -- Fixed MultiWidget crash when compressed value is a tuple. | 26 April 2022, 05:06:26 UTC |
4282fd4 | marcperrinoptel | 25 April 2022, 19:17:33 UTC | Fixed #33655 -- Removed unnecessary constant from GROUP BY clause for QuerySet.exists(). | 26 April 2022, 04:19:18 UTC |
dcebc5d | siddhartha-star-dev | 18 February 2022, 17:34:05 UTC | Refs #2259 -- Disallowed primary keys in ModelAdmin.list_editable. Refs #32728. | 25 April 2022, 09:00:50 UTC |
ed0a2c3 | Hannes Ljungberg | 22 April 2022, 17:07:56 UTC | Removed unnecessary variable in Index.create_sql(). Unnecessary since fdfb3086fcba1b737ec09676ab4bb95105f3371e. | 22 April 2022, 17:07:56 UTC |
0de89b6 | Collin Anderson | 22 April 2022, 12:13:12 UTC | Refs #31223 -- Added __class_getitem__() to ForeignKey. | 22 April 2022, 12:13:12 UTC |
eeb0bb6 | Mariusz Felisiak | 22 April 2022, 09:36:27 UTC | Refs #27674 --- Deprecated django.contrib.gis.admin.OpenLayersWidget. | 22 April 2022, 09:36:27 UTC |
6f453cd | Adam Johnson | 10 February 2022, 20:16:33 UTC | Fixed #33509 -- Added "(no-op)" to sqlmigrate output for operations without SQL statement. | 21 April 2022, 10:25:16 UTC |
f15f7d3 | Adam Johnson | 20 April 2022, 20:04:36 UTC | Refs #33509 -- Made sqlmigrate tests stricter and improved isolation. | 21 April 2022, 10:21:46 UTC |
cd4da34 | sarahboyce | 19 April 2022, 11:21:23 UTC | Fixed #33004 -- Made saving objects with unsaved GenericForeignKey raise ValueError. This aligns to the behaviour of OneToOneField and ForeignKey fields. Thanks Jonny Park for the initial patch. | 21 April 2022, 08:12:28 UTC |
1ed8ca4 | Mariusz Felisiak | 21 April 2022, 07:59:09 UTC | Refs #13085 -- Removed unnecessary ManyToManyFields from generic_relations_regress test models. | 21 April 2022, 07:59:09 UTC |
6f311c7 | Hannes Ljungberg | 20 April 2022, 09:59:48 UTC | Refs #33508 -- Corrected note about MySQL/MariaDB support of index ordering. | 20 April 2022, 15:45:23 UTC |
6b53114 | Carlton Gibson | 20 April 2022, 09:56:11 UTC | Refs #33646 -- Added example for async cross-thread connection access. | 20 April 2022, 12:07:14 UTC |
5dfa6fc | Aymeric Augustin | 16 April 2022, 18:27:49 UTC | Refactored out RedirectURLMixin.get_success_url(). This also adds a default implementation of get_default_redirect_url(). | 20 April 2022, 08:04:29 UTC |
04bc256 | Aymeric Augustin | 16 April 2022, 18:21:29 UTC | Simplified LogoutView.get_success_url(). This preserves the behavior of redirecting to the logout URL without query string parameters when an insecure ?next=... parameter is given. It changes the behavior of a POST to the logout URL, as shown by the test that is changed. Currently, this results in a GET to the logout URL. However, such GET requests are deprecated. This change would be necessary in Django 5.0 anyway. This commit merely anticipates it. | 20 April 2022, 08:04:29 UTC |
5fcd9b8 | Aymeric Augustin | 16 April 2022, 17:36:59 UTC | Unified LoginView/LogoutView.get_default_redirect_url() methods. This might change the behavior when self.next_page == "". However, resolve_url(self.next_page) would almost certainly fail in that case. It is technically possible to define a logout URLpattern whose name is "": path('logout/', LogoutView.as_view(), name=''), and then to refer to this pattern with next_page = "". However this feels like a pathological case, so we decided not to handle it. Most checks on next_page, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL are performed with boolean evaluation rather than comparison with None. That's why we standardizing that way. | 20 April 2022, 08:04:29 UTC |
5b8699e | Aymeric Augustin | 16 April 2022, 16:53:46 UTC | Renamed LogoutView.get_next_page() to get_success_url(). This aligns it with LoginView. Also, it removes confusion with the get_next_page() method of paginators. get_next_page() was a private API, therefore this refactoring is allowed. | 20 April 2022, 08:04:29 UTC |
12576bd | Aymeric Augustin | 16 April 2022, 16:37:34 UTC | Refactored out RedirectURLMixin.get_redirect_url(). This also renames SuccessURLAllowedHostsMixin to RedirectURLMixin. This doesn't change the behavior of LogoutView.get_next_page() because next_page == "" implies url_is_safe == False before the refactoring. | 20 April 2022, 08:04:29 UTC |
420d13e | Andrey Otto | 20 April 2022, 07:59:48 UTC | Fixed #33654 -- Added localdate to utils.timezone.__all__. | 20 April 2022, 07:59:48 UTC |
c8c6a51 | Xiang Zhang | 20 April 2022, 06:11:17 UTC | Added TiDB to list of third-party DB backends. | 20 April 2022, 06:11:17 UTC |
470708f | Theofilos Alexiou | 19 April 2022, 19:38:49 UTC | Updated note about ListView pagination example in CBV docs. Follow up to 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88. | 19 April 2022, 19:38:49 UTC |
7d26d5f | Dominik | 19 April 2022, 09:34:14 UTC | Fixed #33644 -- Corrected FAQ about displaying ManyToManyField in list_filter. | 19 April 2022, 16:56:04 UTC |
bf7c51a | Carlton Gibson | 12 April 2022, 14:21:02 UTC | Fixed #33639 -- Enabled cached template loader in development. | 19 April 2022, 10:13:27 UTC |
f4f2afe | Mariusz Felisiak | 19 April 2022, 06:24:24 UTC | Refs #32226 -- Fixed JSON format of QuerySet.explain() on PostgreSQL when format is uppercased. Follow up to aba9c2de669dcc0278c7ffde7981be91801be00b. | 19 April 2022, 06:24:24 UTC |
903702d | Aymeric Augustin | 16 April 2022, 16:35:30 UTC | Removed unnecessary default argument from GET.get() call in LoginView.get_redirect_url(). The default argument is unnecessary because url_has_allowed_host_and_scheme() returns False when its first argument is "" or None, so get_redirect_url() still returns "". This also aligns LoginView.get_redirect_url() and LogoutView.get_next_page(). | 19 April 2022, 04:25:38 UTC |
5591a72 | Aymeric Augustin | 18 April 2022, 14:33:10 UTC | Fixed #33648 -- Prevented extra redirect in LogoutView on invalid next page when LOGOUT_REDIRECT_URL is set. | 18 April 2022, 14:33:10 UTC |
fe7cb34 | Claude Paroz | 18 April 2022, 13:19:58 UTC | Refs #33328 -- Corrected JS check for event.detail presence in docs. | 18 April 2022, 13:19:58 UTC |
8e89dfe | Mariusz Felisiak | 14 April 2022, 10:54:27 UTC | Fixed various tests on MySQL with MyISAM storage engine. | 18 April 2022, 05:05:52 UTC |
331a460 | Mariusz Felisiak | 14 April 2022, 07:53:31 UTC | Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related tests with MyISAM storage engine. | 18 April 2022, 05:05:52 UTC |
e126700 | Scott | 16 April 2022, 13:29:51 UTC | Fixed #33643 -- Fixed inspectdb crash on functional unique constraints on Oracle. | 16 April 2022, 13:29:51 UTC |
a1e4e86 | Alexandru Mărășteanu | 15 April 2022, 20:00:28 UTC | Fixed #33607 -- Made PostgresIndex.create_sql() respect the "using" argument. | 15 April 2022, 20:00:28 UTC |
c72f6f3 | mgaligniana | 13 April 2022, 13:27:21 UTC | Fixed #11803 -- Allowed admin select widgets to display new related objects. Adjusted admin javascript to add newly created related objects to already loaded select widgets. In this version, applies only where limit_choices_to is not set. | 15 April 2022, 05:46:37 UTC |
deedf5b | Carlton Gibson | 14 April 2022, 09:35:47 UTC | Refs #31169 -- Added release note for parallel test running changes. | 14 April 2022, 10:38:31 UTC |