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
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
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
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
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
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
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
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
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
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
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
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
Nick Pope
9204485396
Fixed #16117 -- Added decorators for admin action and display functions.
...
Refs #25134 , #32099 .
2021-01-13 17:19:22 +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
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
Nick Pope
d23dad5778
Refs #30181 -- Corrected note about storing None in the cache.
2020-12-17 09:57:21 +01:00
Tom Forbes
b5e12d490a
Fixed #31007 -- Allowed specifying type of auto-created primary keys.
...
This also changes the default type of auto-created primary keys
for new apps and projects to BigAutoField.
2020-12-15 11:25:46 +01:00
Jon Dufresne
550297d20d
Added backticks to code literals in various docs.
2020-12-15 07:19:00 +01:00
Mariusz Felisiak
5ce31d6a71
Fixed #32193 -- Deprecated MemcachedCache.
2020-12-09 21:27:32 +01:00
Matthias Kestenholz
62f477d171
Adjusted formatting of ngettext docs code examples.
2020-12-08 12:09:59 +01:00
Florian Apolloner
98e05ccde4
Fixed #32233 -- Cleaned-up duplicate connection functionality.
2020-12-08 08:55:44 +01:00
Timo Ludwig
d8dfff2ab0
Fixed #32235 -- Made ReadOnlyPasswordHashField disabled by default.
2020-12-03 09:32:08 +01:00
Ian Foote
3828879eee
Fixed #32220 -- Added durable argument to transaction.atomic().
2020-11-27 21:43:15 +01:00
Ian Foote
8b040e3cbb
Fixed #25534 , Fixed #31639 -- Added support for transform references in expressions.
...
Thanks Mariusz Felisiak and Simon Charette for reviews.
2020-11-27 20:42:04 +01:00
sage
4a412c2e65
Fixed #32199 -- Doc'd JSONField in ModelForm field mapping.
2020-11-17 08:52:23 +01:00
Nick Pope
477c800443
Changed docs and a code comment to use gender-neutral pronouns.
...
Follow up to e1b7723817
.
2020-11-13 22:26:30 +01:00
Hasan Ramezani
c448e614c6
Fixed #32187 -- Removed unnecessary select_related in queries doc.
2020-11-12 10:06:04 +01:00
Carles Pina Estany
a43e2f66d7
Fixed #32176 -- Clarified filesystem cache docs.
2020-11-10 11:15:29 +01:00
Hasan Ramezani
3f7b327562
Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.
...
This also replaces assertQuerysetEqual() to
assertSequenceEqual()/assertCountEqual() where appropriate.
Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-11-06 09:24:50 +01:00
Jon Dufresne
859cd7c6b4
Fixed #22276 -- Fixed crash when formset management form is invalid.
...
Co-authored-by: Patryk Zawadzki <patrys@room-303.com>
2020-11-05 10:40:41 +01:00
christa
c36075ac1d
Fixed #31983 -- Added system check for file system caches location.
...
Thanks Johannes Maron and Nick Pope for reviews.
2020-11-04 20:30:23 +01:00
Carlton Gibson
ebb08d1942
Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.
2020-11-04 11:07:15 +01:00
Caio Ariede
9ca22c7733
Fixed #26962 -- Doc'd running migrations in transactions.
2020-10-29 08:00:06 +01:00
Carlton Gibson
e17ee44688
Fixed #32128 -- Added asgiref 3.3 compatibility.
...
Thread sensitive parameter is True by default from asgiref v3.3.0.
Added an explicit thread_sensitive=False to previously implicit uses.
2020-10-27 11:24:07 +01:00
Jon Dufresne
2b56c56653
Corrected output of rendered formset example in model formsets docs.
2020-10-26 07:38:54 +01:00
Carlton Gibson
ad11f5b8c9
Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior.
2020-10-22 14:15:19 +02:00
Simon Charette
284bde3fbe
Refs #9475 -- Linked through_default docs to related managers methods.
2020-10-22 10:08:35 +02:00
Jacob Walls
4e4db426c5
Fixed typo in docs/topics/testing/tools.txt.
2020-10-18 19:50:14 +02:00
shivam sharma
c9f12f149f
Fixed typo in docs/topics/i18n/translation.txt.
2020-10-13 08:06:37 +02:00
Carlton Gibson
1b32b2f614
Fixed #32083 -- Added link back to migrating section in multi-db docs example.
2020-10-08 12:45:06 +02:00
Tom Carrick
dcb69043d0
Fixed #32002 -- Added headers parameter to HttpResponse and subclasses.
2020-10-07 09:19:57 +02:00