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
meghanabhange
848770dd2c
Fixed #32042 -- Improved error messages for the number of submitted forms in formsets.
2020-09-28 07:05:34 +02:00
Carlton Gibson
2a55431a56
Fixed #32016 -- Clarified manual logging config docs.
2020-09-22 14:15:38 +02:00
János Roden
9e4b1ad33e
Fixed #32004 -- Clarified docs for when request.FILES is set.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-09-22 13:28:00 +02:00
David D Lowe
f3901b5899
Doc'd that UpdateCacheMiddleware and cache_page affect downstream caches.
...
Thanks to Nick Pope for review.
2020-09-17 14:28:22 +02:00
Nick Pope
b4d46df5ca
Fixed #29887 -- Added a cache backend for pymemcache.
2020-09-16 09:40:30 +02:00
Tom Carrick
bcc2befd0e
Fixed #31789 -- Added a new headers interface to HttpResponse.
2020-09-14 08:41:59 +02:00
jpribyl
17407eca59
Fixed #31894 -- Added note about using JSONField key lookups with QuerySet.exclude() in docs.
2020-09-04 09:04:38 +02:00
Mariusz Felisiak
8d59075184
Refs #31224 -- Made sync_to_async() examples use thread sensitive with ORM calls.
2020-09-03 12:06:42 +02:00
Jon Dufresne
0b8871ab67
Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper argument optional.
2020-09-03 09:48:40 +02:00
Nick Pope
a629139425
Refs #29887 , Refs #24212 -- Added servers configuration hook for memcached backends.
...
The servers property can be overridden to allow memcached backends to
alter the server configuration prior to it being passed to instantiate
the client. This allows avoidance of documentation for per-backend
differences, e.g. stripping the 'unix:' prefix for pylibmc.
2020-09-02 08:51:17 +02:00
Abdullah Dursun
fcad0b1324
Corrected note about long names in search docs.
2020-08-31 22:36:25 +02:00
Juan Pedro Fisanotti
41725602af
Improved wording in async views docs.
2020-08-20 09:06:50 +02:00
David Smith
e2e34f4de3
Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms.
2020-08-18 22:56:39 +02:00
Ahmad A. Hussein
61a0ba43cf
Refs #31811 -- Added optional timing outputs to the test runner.
2020-08-13 17:17:15 +02:00
Roy Zheng
804f2b7024
Added note about password updates on argon2 attributes change.
2020-08-11 07:51:27 +02:00
Mariusz Felisiak
d907371ef9
Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.
...
It's a transitional setting helpful in migrating multiple instance of
the same project to Django 3.1+.
Thanks Markus Holtermann for the report and review, Florian
Apolloner for the implementation idea and review, and Carlton Gibson
for the review.
2020-08-04 09:35:24 +02:00
Mariusz Felisiak
1d6fdca557
Refs #27468 -- Added tests and release notes for signing.dumps()/loads() changes.
...
Follow up to 71c4fb7beb
.
2020-07-31 22:05:02 +02:00
Mariusz Felisiak
8703680ebe
Corrected signing.dumps()/loads() signatures in docs.
2020-07-31 11:33:17 +02:00
sage
2d8dcba03a
Fixed #31829 -- Used JSONField __contains lookup on key transforms.
2020-07-28 13:10:12 +02:00
Mariusz Felisiak
ba691933ce
Fixed #31836 -- Dropped support for JSONField __contains and __contained_by lookups on SQLite.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
2020-07-28 13:06:52 +02:00
Claude Paroz
bac5777bff
Refs #30165 -- Removed leftover 'u' prefix.
2020-07-28 12:29:46 +02:00
Mariusz Felisiak
02447fb133
Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
2020-07-28 11:54:01 +02:00
Adam Johnson
5ef6f62634
Refs #31502 -- Made minor edits to Model._state docs.
2020-07-16 20:50:53 +02:00
Adam Johnson
e906ff6fca
Fixed #30457 -- Added TestCase.captureOnCommitCallbacks().
2020-07-13 11:56:46 +02:00
ovkulkarni
b7a438c7e2
Fixed #31509 -- Made DiscoverRunner enable faulthandler by default.
2020-07-10 18:55:50 +02:00
Mariusz Felisiak
188f7786bc
Refs #27430 -- Added buffer argument to DiscoverRunner docs.
2020-07-10 18:55:50 +02:00
Mariusz Felisiak
2c43840dfb
Refs #30676 -- Added pdb argument to DiscoverRunner docs.
2020-07-10 18:55:50 +02:00
Jason Held
639142e24d
Fixed #24816 -- Clarified docs about preventing duplicate signals.
2020-07-08 06:24:36 +02:00
Jacob Walls
659a73bc0a
Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.
2020-07-04 23:13:21 +02:00
MansurAliKoroglu
d88952142b
Adjusted multi-db example to avoid confusion with DATABASES keys.
2020-07-03 12:41:00 +02:00
Adam Johnson
2afa61e7d9
Refs #31493 -- Replaced var with const/let in documentation JS.
2020-06-24 12:20:57 +02:00
Nick Pope
074844e947
Fixed #31529 -- Added support for serialization of pathlib.Path/PurePath and os.PathLike in migrations.
2020-06-24 11:45:34 +02:00
David Smith
162765d6c3
Fixed #9061 -- Allowed FormSets to disable deleting extra forms.
...
Thanks to Dan Ward for the initial patch.
2020-06-24 09:26:25 +02:00
Claude Paroz
258c88a913
Refs #5691 -- Made cache keys independent of USE_L10N.
...
This mostly reverts af1893c4ff
.
2020-06-22 10:55:12 +02:00
David Smith
10df5b7177
Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.
2020-06-17 13:15:56 +02:00
Mariusz Felisiak
78c811334c
Refs #30190 -- Minor edits to JSONL serializer.
...
Follow up to e29637681b
.
2020-06-17 07:59:40 +02:00