Mariusz Felisiak
8298775dad
[3.2.x] Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.
...
Backport of 37044817f9
from main
2021-03-19 08:06:45 +01:00
Mariusz Felisiak
9059b2fe60
[3.2.x] Added parallel argument to DiscoverRunner docs.
...
Follow up to cd9fcd4e80
.
Backport of f099ef3ef5
from main
2021-03-19 08:06:31 +01:00
Mariusz Felisiak
62fd750bf7
[3.2.x] Corrected DiscoverRunner.build_suite() signature.
...
Follow up to 9012833af8
.
Backport of fc6fba0aa9
from main
2021-03-19 08:06:25 +01:00
Hasan Ramezani
6b020f3c94
[3.2.x] Fixed #32547 -- Corrected notes about validation in HTML assertions docs.
...
Backport of ceb4b9ee68
from main
2021-03-18 11:09:03 +01:00
Adam Johnson
46bdc3eaf0
[3.2.x] Fixed #32560 -- Fixed test runner with --pdb and --buffer on fail/error.
...
Backport of 45814af619
from main
2021-03-17 21:51:27 +01:00
Jozef
3ff859b789
[3.2.x] Fixed typo in docs/topics/testing/advanced.txt.
...
Backport of 6993e1bf6d
from main
2021-03-17 18:49:53 +01:00
Mariusz Felisiak
4aba70900c
[3.2.x] Fixed #32353 -- Confirmed support for PROJ 7.X.
...
Backport of 065832eaec
from main
2021-03-16 20:23:36 +01:00
Hasan Ramezani
7e43a10084
[3.2.x] Fixed #32536 -- Added links to BaseDetailView/BaseListView.get() methods in CBV docs.
...
Backport of bc04941bf8
from main
2021-03-16 07:59:49 +01:00
Hasan Ramezani
d076d9649d
[3.2.x] Fixed typo in docs/ref/checks.txt.
...
Backport of 50ef9dfac2
from main
2021-03-15 09:42:29 +01:00
Mariusz Felisiak
6171d6bb48
[3.2.x] Updated datum directory for PROJ 6 in GIS install instructions.
...
Backport of 4d912e6697
from main
2021-03-15 08:21:12 +01:00
Mariusz Felisiak
b129728834
[3.2.x] Updated link to Selenium webdrivers.
...
Backport of 98d3fd6102
from main
2021-03-09 11:30:56 +01:00
Markus Holtermann
e078747290
[3.2.x] Updated Git branch "master" to "main".
...
This change follows a long discussion on django-develops:
https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Backport of d9a266d657
from main
2021-03-09 09:33:50 +01:00
Jacob Walls
3fd83c48db
[3.2.x] Fixed #32507 -- Added link to assertHTMLEqual() in assertInHTML() docs.
...
Backport of 286fb73b69
from master
2021-03-05 21:21:25 +01:00
Mariusz Felisiak
49970b5e4d
[3.2.x] Refs #32483 -- Doc'd caveat about using JSONField key transforms to booleans with QuerySet.values()/values_list() on SQLite.
...
Backport of c6b07627fc
from master
2021-03-04 11:31:00 +01:00
Mariusz Felisiak
cd7a5bf33d
[3.2.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
...
Backport of 05bbff8263
from master
2021-03-04 10:43:41 +01:00
Hasan Ramezani
44969681b8
[3.2.x] Corrected admin.E023 message in docs.
...
Backport of d1f89c9b9a
from master
2021-03-04 09:21:02 +01:00
GabbyPrecious
cafabd0859
[3.2.x] Refs #32412 -- Adjusted Contributing Guide start page.
...
* Added headers emphasising Work on the framework vs Join the community
sections, to raise the visibility of the community section.
* Added callouts to three main code/docs/translations areas, linking to
respective start pages.
* Moved some Writing code specific content from the start page to the
Writing code index. This clarifies the start page and adds content to the
previously empty Writing code index.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of ead9085f08
from master
2021-03-03 15:41:10 +01:00
Mariusz Felisiak
d7e5590653
[3.2.x] Updated links to djangoproject.com/code.djangoproject.com repositories.
...
Backport of 2b1de3dd24
from master
2021-03-03 09:07:11 +01:00
Jack Aitken
9f277c3a7c
[3.2.x] Fixed #32271 -- Improved consistency of docs CBV examples.
...
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
Backport of 5fd4f22d19
from master
2021-03-02 09:01:57 +01:00
tim-mccurrach
7e6e822162
[3.2.x] Fixed #20423 -- Doc'd that DTL variable names may not be a number.
...
Backport of 7587139d35
from master
2021-02-26 21:03:02 +01:00
Jacob Walls
230d5b16b2
[3.2.x] Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.
...
Backport of 0c7e880e13
from master
2021-02-26 09:11:57 +01:00
Camilo Nova
1c10a6cbce
[3.2.x] Fixed indentation in docs/topics/i18n/translation.txt.
...
Backport of f6f430d3ff
from master
2021-02-25 20:49:53 +01:00
Mariusz Felisiak
904a889ccc
[3.2.x] Added stub release notes for 3.1.8.
...
Backport of e0f82d7992
from master
2021-02-25 20:49:18 +01:00
Markus Holtermann
76873b830c
[3.2.x] Updated links to DEPs.
...
Backport of 7cc6899d41
from master
2021-02-25 17:27:32 +01:00
Mariusz Felisiak
abca17c8e0
[3.2.x] Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.
...
Accidentally changed in 61a0ba43cf
.
Backport of af685b5f00
from master
2021-02-24 20:24:34 +01:00
Hasan Ramezani
543171873f
[3.2.x] Fixed #32471 -- Doc'd the return value of EmailMessage.send().
...
Backport of b1af2cca3a
from master
2021-02-23 07:43:57 +01:00
Johannes Wilm
cf05f9f205
[3.2.x] Refs #4027 -- Added Model._state.adding to docs about copying model instances.
...
Backport of 0fd05df7b5
from master
2021-02-22 11:52:52 +01:00
Carlton Gibson
06905243a3
[3.2.x] Added CVE-2021-23336 to security archive.
...
Backport of ab58f07250
from master
2021-02-19 11:03:38 +01:00
Nick Pope
be8237c7cc
[3.2.x] Fixed CVE-2021-23336 -- Fixed web cache poisoning via django.utils.http.parse_qsl().
2021-02-19 09:15:09 +01:00
Nick Pope
6897da6096
[3.2.x] Added documentation extlink for bugs.python.org.
...
Backport of d02d60eb0f
from master
2021-02-17 14:25:54 +01:00
David Smith
bfc429d993
[3.2.x] Fixed #32438 -- Fixed typo in docs/topics/testing/tools.txt.
...
Backport of e412b28845
from master
2021-02-12 09:21:07 +01:00
Adam Johnson
f2d955dbe4
[3.2.x] Documented an example custom context processor.
...
Backport of 0963f184ab
from master
2021-02-11 14:37:27 +01:00
Adam Johnson
2ce4f73241
[3.2.x] Improved pagination documentation
...
* Link to the topic guide
* Document that page() can raise PageNotAnInteger.
Backport of a57e91adee
from master
2021-02-11 14:20:19 +01:00
Hasan Ramezani
dd14e639ad
[3.2.x] Fixed #32431 -- Reversed order of security issues history.
...
Backport of 17a5e2cff6
from master
2021-02-10 16:03:24 +01:00
Anil Khatri
bae685f267
[3.2.x] Fixed #32430 -- Doc'd base class-based views.
...
Backport of 6ee86a12ee
from master
2021-02-08 17:33:53 +01:00
Anil Khatri
20e0e47f25
[3.2.x] Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.
...
Backport of de4492fbb1
from master
2021-02-08 07:08:53 +01:00
Amankumar Singh
d192d751e1
[3.2.x] Fixed #32419 -- Clarified URLconf in example of serving media files.
...
Backport of 51637222b6
from master
2021-02-05 15:34:28 +01:00
Carlton Gibson
f490cde15d
[3.2.x] Corrected typo in advice to new contributors.
...
Backport of e48e78738e
from master
2021-02-04 16:02:08 +01:00
GabbyPrecious
cb680b6819
[3.2.x] Refs #32412 -- Adjusted link from tutorial to reference docs.
...
The writing code index page is a better location for a newer contributor to
land, than the specific patch guidelines subpage.
Backport of aa29c57bee
from master
2021-02-04 10:37:36 +01:00
GabbyPrecious
bbd1b3565b
[3.2.x] Refs #32412 -- Adjusted beginning of Advice for new contributors.
...
With the goal of guiding folks to the right destination:
* Improved wording of tutorial call-out.
* Added summary of page purpose.
* Added link to Writing code reference doc.
Backport of e733c9ac17
from master
2021-02-04 10:37:15 +01:00
Dan Swain
afe34e7237
[3.2.x] Fixed typos in 3.2 release notes.
...
Backport of e17bdb953a
from master
2021-02-04 09:56:58 +01:00
Mariusz Felisiak
7d65889345
[3.2.x] Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' database.
...
Thanks Kazantcev Andrey for the report.
Regression in f48f671223
.
Backport of f131841c60
from master
2021-02-02 21:35:35 +01:00
Brad Solomon
eab0b8b804
[3.2.x] Fixed typo in docs/ref/forms/widgets.txt.
...
Backport of f9cfd346f0
from master
2021-02-01 12:05:22 +01:00
Mariusz Felisiak
b62e767b88
[3.2.x] Added stub release notes for 3.1.7.
...
Backport of 8d3c3a5717
from master
2021-02-01 10:55:07 +01:00
Mariusz Felisiak
10b25e6722
[3.2.x] Added CVE-2021-3281 to security archive.
...
Backport of f749148d62
from master
2021-02-01 10:45:47 +01:00
Mariusz Felisiak
f944f79e55
[3.2.x] Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract().
...
Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews.
Thanks Wang Baohua for the report.
Backport of 05413afa8c
from master.
2021-02-01 09:13:37 +01:00
Adam Johnson
52a4882c40
[3.2.x] Modernized custom manager example
...
Since this example was added 15 years ago in a8ccdd0fcd
, the ORM has gained the ability to do the `COUNT(*)` related query, so do it with the ORM to avoid misleading users that raw SQL is only supported from manager methods.
Backport of 59e503b670
from master
2021-01-28 16:01:46 +01:00
Denis Skulimovskiy
d83249b0b9
[3.2.x] Fixed #32391 -- Used CSS flex properties for changelist filter.
...
Matched layout adjustment using flex from admin sidebar added in
d24ba1be7a
.
Filters would become squashed when viewport was
constrained or list display table became too wide.
Backport of 269a767146
from master
2021-01-28 15:52:59 +01:00
Timothy McCurrach
e95a60bb64
[3.2.x] Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about duplicates for multiple batches.
...
Backport of 241da3f06e
from master
2021-01-28 08:07:14 +01:00
Adam Johnson
ba71cf38ea
[3.2.x] Changed "Don't overuse count() or exists()" example to Python.
...
Backport of 8a642b88c3
from master
2021-01-27 20:47:46 +01:00
Carlton Gibson
4dbbe37479
[3.2.x] Fixed #32348 , Refs #29087 -- Corrected tutorial for updated deleting inlines UI.
...
Updated tutorial to match change in 24e540fbd7
allowing deletion of original extra inlines.
Backport of f4272d000a
from master
2021-01-27 08:47:27 +01:00
Hannes Ljungberg
5d9374b9fb
[3.2.x] Refs #26167 -- Corrected OpClass() example in docs.
...
Backport of 90ddf46ef7
from master
2021-01-25 09:03:31 +01:00
Jack
c708837a69
[3.2.x] Refs #32372 -- Updated manager name in related objects reference docs.
...
Follow up to 725c549ae7
.
Backport of 2b4b6c8af0
from master
2021-01-22 20:19:27 +01:00
Jack Aitken
59c63c7f6b
[3.2.x] Fixed #32372 -- Made examples in related objects reference docs consistent.
...
Backport of 725c549ae7
from master
2021-01-22 06:53:13 +01:00
Matthias Kestenholz
41405a0b8e
[3.2.x] Fixed #32371 -- Doc'd jquery.init.js dependency for admin widgets.
...
Backport of 7b3ec6bcc8
from master
2021-01-20 22:07:40 +01:00
Paul Ganssle
a5d70cca12
[3.2.x] Refs #32365 -- Allowed use of non-pytz timezone implementations.
...
Backport of 10d1261984
from master
2021-01-19 12:00:40 +01:00
Mariusz Felisiak
de4e854f07
[3.2.x] Corrected versionadded annotations.
...
Backport of 73ffc73b68
from master
2021-01-19 11:58:37 +01:00
Carlton Gibson
75182a800a
Removed empty sections and adjusted 3.2 release notes.
2021-01-14 14:58:28 +01:00
Carlton Gibson
db971f63ab
Updated django-admin man page for Django 3.2.
2021-01-14 14:58:28 +01:00
Jon Moroney
76ae6ccf85
Fixed #31358 -- Increased salt entropy of password hashers.
...
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
2021-01-14 11:20:28 +01:00
Carles Pina Estany
7072bff1fd
Fixed cross-link in CBV topic documentation.
2021-01-14 11:17:59 +01:00
Hannes Ljungberg
ffe756d624
Refs #26167 -- Changed default value of DatabaseFeatures.supports_expression_indexes to True.
2021-01-14 08:32:26 +01:00
mimi89999
b5cef91a91
Fixed #31259 -- Added admin dark theme.
2021-01-14 08:27:29 +01:00
Nick Pope
9204485396
Fixed #16117 -- Added decorators for admin action and display functions.
...
Refs #25134 , #32099 .
2021-01-13 17:19:22 +01:00
Hannes Ljungberg
83fcfc9ec8
Fixed #26167 -- Added support for functional indexes.
...
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
2021-01-13 11:47:50 +01:00
Paolo Melchiorre
c412d9af7e
Fixed #32291 -- Added fixtures compression support to dumpdata.
2021-01-12 15:47:58 +01:00
Jon Dufresne
ba31b01034
Fixed #31747 -- Fixed model enumeration via admin URLs.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-01-12 14:37:56 +01:00
Johannes Maron
3071660acf
Fixed #29010 , Fixed #29138 -- Added limit_choices_to and to_field support to autocomplete fields.
...
* Fixed #29010 -- Added limit_choices_to support to autocomplete fields.
* Fixed #29138 -- Allowed autocomplete fields to target a custom
to_field rather than the PK.
2021-01-12 11:37:38 +01:00
Hasan Ramezani
ba3fb2e4d0
Refs #32311 -- Fixed CSRF_FAILURE_VIEW system check errors code.
2021-01-12 11:22:13 +01:00
Mariusz Felisiak
fdc3d9dcaf
Removed unused import in docs/ref/models/expressions.txt. ( #13879 )
2021-01-12 10:51:38 +01:00
Hasan Ramezani
64331419c8
Fixed #32311 -- Added system check for CSRF_FAILURE_VIEW setting.
2021-01-12 09:44:36 +01:00
Iuri de Silvio
02391bc98c
Fixed #32313 -- Corrected QuerySet.in_bulk() signature.
2021-01-11 08:00:49 +01:00
hashlash
4794a0e35f
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
2021-01-09 20:18:00 +01:00
Florian Apolloner
2d6179c819
Fixed #32191 -- Made CookieStorage use RFC 6265 compliant format.
...
Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
2021-01-07 13:00:53 +01:00
Hasan Ramezani
3eb98743dc
Fixed #32315 -- Doc'd FieldFile.path.
2021-01-07 12:51:59 +01:00
Matthias Kestenholz
0a802233ec
Fixed #32018 -- Extracted admin colors into CSS variables.
...
Defined all colors used in the admin CSS as variables. Implemented the
following standardizations and accessibility improvements while at it:
- Improved the contrast of text to not use ratios of less than 3:1 anymore.
- Most hover states already used desaturated and darkened colors.
Changed object tools to follow the same rule instead of showing the
primary color on hover.
Various places used similar colors; those have been merged with the goal
of reducing the count of CSS variables. Contrasts have been improved in
a few places.
- Many borders used slightly different colors (e.g. #eaeaea vs. #eee)
- Help texts used #999 , this has been changed to --body-quiet-color
(#666 ) which has a better contrast.
Introduced fast color transitions on links and buttons.
2021-01-07 10:07:19 +01:00
Florian Apolloner
102d92fc09
Refs #32191 -- Added Signer.sign_object()/unsign_object().
...
Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
2021-01-06 20:16:47 +01:00
Alexander Lyabah
415f50298f
Fixed #32231 -- Allowed passing None params to QuerySet.raw().
2021-01-05 10:37:11 +01:00
Fabio Sangiovanni
2d6c9b97bc
Fixed #32310 -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField.
2021-01-04 20:16:07 +01:00
Carlton Gibson
966ed414b2
Added stub release notes for 3.1.6.
2021-01-04 08:58:03 +01:00
Carlton Gibson
767917ed49
Added release date for 3.1.5.
2021-01-04 08:31:51 +01:00
Tim Graham
2e7ba6057c
Refs #28741 -- Doc'd SESSION_COOKIE_DOMAIN requirement with CSRF_USE_SESSIONS.
...
Similar considerations as refs #32065 , again adding some nuance to
afd375fc34
.
2021-01-04 07:49:30 +01:00
Roland Geider
3363cf4225
Fixed typo in docs/ref/templates/builtins.txt.
2021-01-04 07:34:53 +01:00
Tim Graham
656b331b13
Updated CVE URL.
2021-01-02 12:49:00 +01:00
Mariusz Felisiak
e13b71403b
Fixed #32304 -- Fixed prefixing STATIC_URL and MEDIA_URL by SCRIPT_NAME for absolute URLs with no domain.
...
Thanks Adam Hooper for the report.
Regression in c574bec092
.
2020-12-31 13:18:57 +01:00
Mariusz Felisiak
74fd233b14
Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.
2020-12-30 09:01:56 +01:00
Mariusz Felisiak
98ad327864
Fixed #32299 -- Prevented mutating handlers when processing middlewares marking as unused in an async context.
...
Thanks Hubert Bielenia for the report.
2020-12-29 09:04:35 +01:00
Mariusz Felisiak
45519937e5
Added app labels to related fields checks messages E302-E305.
2020-12-29 09:01:35 +01:00
Mariusz Felisiak
72d04e0385
Corrected related fields checks messages in docs.
2020-12-29 09:01:35 +01:00
Jon Dufresne
429d089d0a
Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in docs.
2020-12-23 17:21:25 +01:00
Jon Dufresne
d3b3eb860d
Removed forms-MAX_NUM_FORMS POST data in docs
...
The field is ignored server-side and only exists as a client-side
convenience. Removing it slightly simplifies the documentation and
avoids some distractions.
Added note:: for MIN_NUM_FORMS/MAX_NUM_FORMS in
Understanding the management form section.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-12-23 17:15:48 +01:00
David Smith
3bca95cca2
Fixed #32165 -- Added pre-commit hooks
...
* Added pre-commit hooks for isort, flake8 and eslint
* Added documentation on how to install and use the tool
2020-12-23 11:14:48 +01:00
Jon Dufresne
fe886eee36
Corrected code-block directives in docs/ref/models/meta.txt.
2020-12-21 07:56:58 +01:00
joshuapatel
1190af5071
Fixed typo in docs/ref/files/storage.txt.
2020-12-21 07:34:45 +01:00
Jon Dufresne
28d998a41c
Updated isort URL to new location.
2020-12-20 11:00:28 +01:00
Nick Pope
bb64b99b78
Fixed #29867 -- Added support for storing None value in caches.
...
Many of the cache operations make use of the default argument to the
.get() operation to determine whether the key was found in the cache.
The default value of the default argument is None, so this results in
these operations assuming that None is not stored in the cache when it
actually is. Adding a sentinel object solves this issue.
Unfortunately the unmaintained python-memcached library does not support
a default argument to .get(), so the previous behavior is preserved for
the deprecated MemcachedCache backend.
2020-12-17 09:57:21 +01:00
Nick Pope
d23dad5778
Refs #30181 -- Corrected note about storing None in the cache.
2020-12-17 09:57:21 +01:00
Hasan Ramezani
bebd4cfa8f
Fixed #32273 -- Doc'd AdminSite.unregister().
2020-12-16 08:08:49 +01:00
Mariusz Felisiak
0ecc70b15a
Fixed typo in docs/ref/forms/widgets.txt.
...
Thanks rgs258 for the report.
2020-12-15 21:12:26 +01:00
Carlton Gibson
0ed6f3ba4b
Corrected formatting in settings docs.
2020-12-15 12:08:45 +01:00