summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2021-07-15Fixed #32905 -- Added CSS class for non-form errors of formsets.Ties Jan Hefting
2021-07-14Added note about zero timeout in cache settings docs.Nick Pope
2021-07-14Fixed typo in docs/internals/contributing/committing-code.txt.ᴙɘɘᴙgYmɘᴙɘj
2021-07-14Fixed #21936 -- Allowed DeleteView to work with custom Forms and ↵Carlton Gibson
SuccessMessageMixin. Thanks to Mariusz Felisiak for review. Co-authored-by: Demetris Stavrou <demestav@gmail.com> Co-authored-by: Caroline Simpson <github@hoojiboo.com>
2021-07-13Refs #31676 -- Removed Django Core-Mentorship mailing list references in docs.Mariusz Felisiak
2021-07-13Fixed #32899 -- Added note about avoiding non-dict objects in JsonResponse docs.Hasan Ramezani
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-13Refs #32880 -- Made some titles consistent in how-to documents.Daniele Procida
This retitles documents for consistency, since some already (correctly) begin "How to...".
2021-07-12Refs #32880 -- Created a new logging how-to document.Daniele Procida
Moved how-to material from topic document into a new document, and added new material. Introduced minor improvements to logging reference document.
2021-07-09Fixed typo in docs/ref/contrib/gis/tutorial.txt.Wille Marcel
2021-07-09Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ↵Ian Foote
QuerySet.filter(). Thanks Hannes Ljungberg and Simon Charette for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-07-08Fixed #24522 -- Added a --shuffle option to DiscoverRunner.Chris Jerdonek
2021-07-08Fixed #32908 -- Allowed select_for_update(skip_locked) on MariaDB 10.6+.Mariusz Felisiak
2021-07-07Documented in_bulk behavior with nonexistent id_list items.Claude Paroz
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2021-07-06Fixed #32776 -- Added support for Array subqueries on PostgreSQL.Hannes Ljungberg
2021-07-02Fixed #30934 -- Included database alias in django.db.backends log messages.Nick Pope
This is useful when working with database routing as you want to know where each query is being executed. Co-authored-by: David Winterbottom <david.winterbottom@gmail.com>
2021-07-02Refs #26430 -- Re-introduced empty aggregation optimization.Simon Charette
The introduction of the Expression.empty_aggregate_value interface allows the compilation stage to enable the EmptyResultSet optimization if all the aggregates expressions implement it. This also removes unnecessary RegrCount/Count.convert_value() methods. Disabling the empty result set aggregation optimization when it wasn't appropriate prevented None returned for a Count aggregation value. Thanks Nick Pope for the review.
2021-07-01Added CVE-2021-35042 to security archive.Mariusz Felisiak
2021-07-01Added stub release notes for Django 3.2.6.Mariusz Felisiak
2021-07-01Forwardported release notes for CVE-2021-35042.Mariusz Felisiak
2021-07-01Refs #32880 -- Renamed/reordered logging topic sections.Daniele Procida
Moved sections so that how-to type material is all together, and renamed headings so it's clearer what those sections are about, in anticipation of creating a separate how-to document and expanding the material.
2021-07-01Removed trailing whitespace in logging topic.Daniele Procida
2021-07-01Added stub release notes for 3.1.13 and release date for 3.2.5.Mariusz Felisiak
2021-06-30Fixed #32850 -- Doc'd Sitemap.paginator.Thomas Guettler
2021-06-30Refs #32880 -- Moved logging reference to new document.Daniele Procida
Completed a first step in moving reference and how-to material out of the topic document.
2021-06-29Fixed #32381 -- Made QuerySet.bulk_update() return the number of objects ↵abhiabhi94
updated. Co-authored-by: Diego Lima <diego.lima@lais.huol.ufrn.br>
2021-06-28Refs #32880 -- Rearranged logging security notes.Daniele Procida
Expanded security notes and moved them under a new explanation heading of their own for future reference and expansion. Removed specific reference to Sentry since there are multiple third-party services that fulfill that role.
2021-06-28Updated translations from Transifex.Claude Paroz
Forwardport of 04b744050f1743a88e2bf0ca2ca82b34e3361f50 from stable/3.2.x.
2021-06-26Refs #32880 -- Improved some how-to notes in logging topic.Daniele Procida
2021-06-24Refs #32880 -- Improved some headings and text in logging topic.Daniele Procida
2021-06-23Fixed #32363 -- Ensured sys.__interactivehook__ is called in shellPeter Inglesby
By default, this means that readline is properly registered, so that .python_history is used. sys.__interactivehook__ may be set by a $PYTHONSTARTUP file.
2021-06-22Fixed #32863 -- Skipped system check for specifying type of auto-created ↵Hasan Ramezani
primary keys on models with invalid app_label. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. Thanks Iuri de Silvio for the report.
2021-06-22Added a note about %autoawait off for IPython.Russell Keith-Magee
2021-06-21Fixed #32860 -- Made docs permalinks focusable to improve accessibility.Timothy McCurrach
2021-06-15Fixed #30427, Fixed #16176 -- Corrected setting descriptor in ↵Carlton Gibson
Field.contribute_to_class(). Co-authored-by: Jarek Glowacki <jarekwg@gmail.com>
2021-06-11Fixed #32824 -- Improved performance of NodeList.render().Keryn Knight
This avoids the following: - checking that each item in the nodelist is a subclass of Node, - calling str() on the render_annotated() output, because it's documented that Node.render() must return a string, - calling mark_safe() on the output, when the value to be wrapped is definitively known to be a string because the result of ''.join() is always of that type, - using an intermediate list to store each individual string.
2021-06-10Fixed #32832 -- Fixed adding BLOB/TEXT nullable field with default on MySQL ↵Mariusz Felisiak
8.0.13+. Regression in d4ac23bee1c84d8e4610350202ac068fc90f38c0. Thanks Omkar Deshpande for the report.
2021-06-10Refs #32503 -- Added release notes for 5e04e84d67da8163f365e9f5fcd169e2630e2873.Mariusz Felisiak
2021-06-09Fixed #32195 -- Added system check for invalid view in path() and improved ↵Angus Holder
error messages.
2021-06-08Refs #14357 -- Updated docs about interaction between aggregations and ↵Mariusz Felisiak
QuerySet.order_by(). Obsolete since 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6.
2021-06-08Fixed #31653 -- Added AddConstraintNotValid()/ValidateConstraint() ↵Sanskar Jaiswal
operations for PostgreSQL.
2021-06-05Fixed header underlines in performance docs.Claude Paroz
2021-06-04Refs #32338 -- Improved accessibility of RadioSelect examples in docs.David Smith
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-06-04Fixed #32812 -- Restored immutability of named values from ↵Takayuki Hirayama
QuerySet.values_list(). Regression in 981a072dd4dec586f8fc606712ed9a2ef116eeee. Thanks pirelle for the report.
2021-06-03Refs #31356 -- Changed IRC links to the Libera.Chat webchat.Mariusz Felisiak
Follow up to 66491f08fe86629fa25977bb3dddda06959f65e7.
2021-06-03Fixed typos in docs.Jacob Walls
2021-06-02Fixed docs header underlines in security archive.Mariusz Felisiak
2021-06-02Added stub release notes for Django 3.2.5.Carlton Gibson
2021-06-02Added CVE-2021-33203 and CVE-2021-33571 to security archive.Carlton Gibson
2021-06-02Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.Mariusz Felisiak
validate_ipv4_address() was affected only on Python < 3.9.5, see [1]. URLValidator() uses a regular expressions and it was affected on all Python versions. [1] https://bugs.python.org/issue36384
2021-06-02Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' ↵Florian Apolloner
TemplateDetailView.