Commit Graph

13268 Commits

Author SHA1 Message Date
Anders Kaseorg 73cbb372ba Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on PostgreSQL.
Regression in 09ffc5c121.
2023-04-07 08:02:34 +02:00
Simon Charette 9daf8b4109 Fixed #34464 -- Fixed queryset aggregation over group by reference.
Regression in 59bea9efd2.

Refs #28477.

Thanks Ian Cubitt for the report.
2023-04-07 06:57:32 +02:00
Rishi Joshi 1c7aed71ec Fixed typos in docs/faq/contributing.txt. 2023-04-06 19:25:59 +02:00
Mariusz Felisiak 4bf4222010 Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.
Thanks Patryk Zawadzki for the report.

Regression in 09ffc5c121.
2023-04-06 13:32:47 +02:00
Yahya Ali 263db8af46
Fixed #34463 -- Corrected code-block directives in docs.
Thanks ExTexan for the report.
2023-04-06 13:08:12 +02:00
Sarah Boyce bdf59bff65
Refs #34028 -- Doc'd that get_script_prefix() cannot be used outside of the request-response cycle. 2023-04-06 13:01:26 +02:00
Mariusz Felisiak fdf0a367bd Added release date for 4.1.8. 2023-04-05 06:09:31 +02:00
Simon Charette 87c63bd8df Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
Thanks Andrew Cordery for the report.

Regression in b3db6c8dcb.
2023-04-05 05:38:10 +02:00
David Sanders ff9ceed32b Refs #34434 -- Added note about breaking changes in psycopg version 3 to release notes. 2023-04-04 16:30:15 +02:00
Mariusz Felisiak 073b5fd400
Updated release process for 2.0+ release numbering and latest practices. 2023-04-04 07:27:34 +02:00
th3nn3ss 1d1ddffc27 Fixed #33738 -- Allowed handling ASGI http.disconnect in long-lived requests. 2023-04-03 14:01:48 +02:00
Mariusz Felisiak 4e4eda6d6c Added stub release notes for 4.2.1. 2023-04-03 11:17:54 +02:00
Mariusz Felisiak 8adbab49e1 Finalized release notes for Django 4.2. 2023-04-03 09:00:23 +02:00
Edison Wang cbcc1240e9 Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs. 2023-04-03 06:58:25 +02:00
JiriKr cfe563ffaf Fixed #34446 -- Removed unneeded and incorrect example in coding style docs. 2023-03-30 11:06:52 +02:00
Mariusz Felisiak 7330408ac3
Reverted "Refs #31949 -- Enabled @sensitive_variables to work with async functions."
This reverts commits 23cbed2187 and
203a15cadb.
2023-03-30 10:22:23 +02:00
Mariusz Felisiak 659f6b5bc5
Fixed typos in docs/ref/forms/renderers.txt. 2023-03-24 12:54:47 +01:00
David Smith cad376f844 Fixed #34077 -- Added form field rendering. 2023-03-24 10:16:30 +01:00
Carlton Gibson d33368b4ab Added Django Forum to mailing lists page. 2023-03-24 08:32:17 +01:00
David Wobrock d6b6e5d0fd Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list() on compound queries.
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2023-03-24 06:09:27 +01:00
Jesper Olsson 216eb63883
Fixed #34409 -- Doc'd limitation of dictfetchall() and namedtuplefetchall() examples.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-03-22 19:20:58 +01:00
Carlton Gibson b00046d2c2 Doc'd use of asgiref.sync adapters with sensitive variables. 2023-03-22 14:36:42 +01:00
Carlton Gibson 203a15cadb
Refs #31949 -- Adjusted error reporting docs. 2023-03-22 11:01:40 +01:00
Jon Janzen 23cbed2187
Refs #31949 -- Enabled @sensitive_variables to work with async functions. 2023-03-22 10:21:04 +01:00
amirsoroush 6087bc4e15 Fixed typo in docs/topics/class-based-views/mixins.txt. 2023-03-22 08:35:24 +01:00
T. Franzel a2eaea8f22 Fixed #34388 -- Allowed using choice enumeration types directly on model and form fields. 2023-03-21 19:44:41 +01:00
Liyang Zhang f9f9215d3e
Fixed some typos in comments, docstrings, and tests. 2023-03-20 08:07:23 +01:00
Mariusz Felisiak e10c1688f9
Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
2023-03-18 14:05:41 +01:00
sarahboyce d2b688b966 Fixed #1873 -- Handled multi-valued query parameters in admin changelist filters. 2023-03-16 08:38:44 +01:00
Ayush Bisht fc266b694b Fixed #34404 -- Clarified how FileResponse set Content-Type header. 2023-03-16 05:30:21 +01:00
Mariusz Felisiak 78da5ca0c1
Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it."
This reverts commit 69352d85fa.

Test coverage for async methods was no longer calculated with this
change.
2023-03-15 13:05:48 +01:00
Adam Johnson 4db33e96d1
Corrected example in CreateCollation() docs. 2023-03-12 15:02:34 +01:00
Mariusz Felisiak cc67344db9 Doc'd that action descriptions are %-formatted.
Co-authored-by: JD Bothma <jbothma@gmail.com>
2023-03-09 13:44:34 +01:00
Mariusz Felisiak 18473004af
Fixed #34395 -- Updated admin's jQuery to 3.6.4. 2023-03-09 08:55:08 +01:00
nabil-rady 32d4b61c31 Fixed #34370 -- Added integer fields validation as 64-bit on SQLite. 2023-03-08 11:52:57 +01:00
David Wobrock 2396933ca9 Fixed #34384 -- Fixed session validation when rotation secret keys.
Bug in 0dcd549bbe.

Thanks Eric Zarowny for the report.
2023-03-08 10:48:04 +01:00
Carlton Gibson 279e611c01
Refs #31626 -- Noted that Daphne provides a runserver command. 2023-03-07 19:47:55 +01:00
Jon Janzen e846c5e724 Fixed #31920 -- Made AuthenticationMiddleware add request.auser(). 2023-03-07 13:11:22 +01:00
Jon Janzen e83a88566a Fixed #32172 -- Adapted signals to allow async handlers.
co-authored-by: kozzztik <kozzztik@mail.ru>
co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-03-07 08:39:25 +01:00
Mariusz Felisiak 9a07999aef Added stub release notes for 4.1.8. 2023-03-06 17:31:26 +01:00
Ivan Sagalaev a4205076a5
Fixed typo in docs/releases/5.0.txt. 2023-03-05 14:01:19 +01:00
sarahboyce 868e2fcdda Fixed #32539 -- Added toggleable facet filters to ModelAdmin.
Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz
Felisiak for reviews.
2023-03-03 20:24:57 +01:00
Adam Johnson ef00d6ef88 Doc'd that django.setup() is called under ASGI. 2023-03-01 14:32:31 +01:00
Heath Henley 54aecf95a2 Fixed #34367 -- Updated instructions for installing GeoDjango on Windows.
Thanks David Smith for the review.
2023-03-01 13:45:02 +01:00
django-bot 14459f80ee Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
Mariusz Felisiak 6015bab80e Refs #34140 -- Added configurations to run blacken-docs linter and adjusted docs.
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.

Co-authored-by: David Smith <smithdc@gmail.com>
2023-03-01 13:02:57 +01:00
Mariusz Felisiak 9cf2a5df70 Refs #34140 -- Made minor edits to rst code-blocks. 2023-03-01 13:02:54 +01:00
Joseph Victor Zammit ba755ca131 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 2023-02-28 12:21:37 +01:00
Adam Johnson f9fe062de5 Doc'd that Meta.indexes is preferred to Field.db_index. 2023-02-24 09:08:59 +01:00
Xavier Fernandez 5b3d3e400a Fixed #34338 -- Allowed customizing code of ValidationError in BaseConstraint and subclasses. 2023-02-23 10:58:20 +01:00