Yahya Ali
263db8af46
Fixed #34463 -- Corrected code-block directives in docs.
...
Thanks ExTexan for the report.
2023-04-06 13:08:12 +02:00
th3nn3ss
1d1ddffc27
Fixed #33738 -- Allowed handling ASGI http.disconnect in long-lived requests.
2023-04-03 14:01:48 +02:00
David Smith
cad376f844
Fixed #34077 -- Added form field rendering.
2023-03-24 10:16:30 +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
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
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
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
django-bot
14459f80ee
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
2023-03-01 13:03:56 +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
David Smith
3cc7a92189
Refs #32339 -- Doc'd setting a form's template_name is recomended over using as_* methods.
2023-02-15 10:26:31 +01:00
David Smith
232b60a21b
Refs #32339 -- Updated docs to reflect default <div> style form rendering in Django 5.0.
...
Follow up to 98756c685e
.
2023-02-15 10:14:09 +01:00
David Smith
4038a8df0b
Refs #32339 -- Doc'd BaseFormSet.as_div()
2023-02-15 09:24:08 +01:00
Carlton Gibson
ce8189eea0
Fixed #34328 -- Added async-only class-based middleware example.
2023-02-14 14:06:42 +01:00
Sarah Boyce
1eb94bc8da
Fixed #29994 -- Added warning about performance of FileBasedCache with a large number of files.
...
Co-authored-by: sheenarbw <699166+sheenarbw@users.noreply.github.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-02-13 21:09:19 +01:00
Carlton Gibson
534ac48297
Refs #34140 -- Applied rst code-block to non-Python examples.
...
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
2023-02-10 19:19:13 +01:00
Willem Van Onsem
292aacaf6c
Fixed #34311 -- Updated serialization docs from unique_together to UniqueConstraint.
2023-02-09 05:28:03 +01:00
Marcelo Galigniana
7c6195ef81
Fixed #34310 -- Added deletion example to one-to-one topic.
2023-02-07 08:04:23 +01:00
Durval Carvalho
40217d1a82
Fixed #34180 -- Added note about resetting language in test tear-downs.
...
Co-authored-by: Faris Naimi <farisfaris66@gmail.com>
2023-01-31 06:35:30 +01:00
fschwebel
0265b1b49b
Fixed typo in docs/topics/auth/passwords.txt.
...
Wrapped hashing is only possible if the inner wrapped function is the
same as the previous hasher.
2023-01-30 08:31:39 +01:00
Mariusz Felisiak
3bbe22dafc
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
2023-01-18 09:46:01 +01:00
Mariusz Felisiak
71d1203b07
Refs #33348 -- Removed support for passing response object and form/formset name to SimpleTestCase.assertFormError()/assertFormSetError().
...
Per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
9a01311d20
Refs #15619 -- Removed support for logging out via GET requests.
...
Per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
b119f4329c
Refs #29708 -- Removed PickleSerializer per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
e6f82438d4
Refs #32365 -- Removed support for pytz timezones per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
8d98f99a4a
Refs #32873 -- Removed settings.USE_L10N per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
43b01300b7
Refs #32655 -- Removed extra_tests argument for DiscoverRunner.build_suite()/run_tests().
...
Per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
602d9a312f
Refs #32379 -- Changed default USE_TZ to True.
...
Per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
6c0539ed7c
Refs #32446 -- Removed SERIALIZE test database setting per deprecation timeline.
2023-01-17 11:49:15 +01:00
Mariusz Felisiak
490cccbe7e
Removed versionadded/changed annotations for 4.1.
2023-01-17 11:49:15 +01:00
sarahboyce
0fbdb9784d
Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
...
Co-authored-by: Christian Bundy <me@christianbundy.com>
2023-01-16 09:31:34 +01:00
Jarosław Wygoda
32940d390a
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
2023-01-12 09:58:36 +01:00
Jarosław Wygoda
1ec3f0961f
Fixed #26029 -- Allowed configuring custom file storage backends.
2023-01-12 06:20:57 +01:00
Francesco Panico
72efd840a8
Fixed #34110 -- Added in-memory file storage.
...
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for
reviews.
2023-01-10 10:56:59 +01:00
David Wobrock
99bd5fb4c2
Refs #34074 -- Used headers argument for RequestFactory and Client in docs and tests.
2023-01-04 09:11:36 +01:00
Paul Schilling
298d02a77a
Fixed #25617 -- Added case-insensitive unique username validation in UserCreationForm.
...
Co-Authored-By: Neven Mundar <nmundar@gmail.com>
2022-12-29 09:42:22 +01:00
Carlton Gibson
0bd2c0c901
Fixed #33735 -- Added async support to StreamingHttpResponse.
...
Thanks to Florian Vazelle for initial exploratory work, and to Nick
Pope and Mariusz Felisiak for review.
2022-12-22 10:41:12 +01:00
Carlton Gibson
32d70b2f55
Refs #34118 -- Adopted asgiref coroutine detection shims.
...
Thanks to Mariusz Felisiak for review.
2022-12-20 11:10:48 +01:00
Mariusz Felisiak
0c60d11bdb
Fixed typo in docs/topics/async.txt.
2022-12-19 20:25:38 +01:00
TAKAHASHI Shuuji
05d70fb92b
Fixed typo in docs/topics/http/sessions.txt.
2022-12-16 09:55:21 +01:00
Daniele Varrazzo
09ffc5c121
Fixed #33308 -- Added support for psycopg version 3.
...
Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews.
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-12-15 06:17:57 +01:00
SirAbhi13
b8738aea14
Fixed #33199 -- Deprecated passing positional arguments to Signer/TimestampSigner.
...
Thanks Jacob Walls for the implementation idea.
2022-12-09 12:44:48 +01:00
Simon Charette
0ff46591ac
Refs #33308 -- Deprecated support for passing encoded JSON string literals to JSONField & co.
...
JSON should be provided as literal Python objects an not in their
encoded string literal forms.
2022-12-01 19:14:00 +01:00
sdolemelipone
9d726c7902
Fixed #34187 -- Made UserCreationForm save many-to-many fields.
2022-11-29 05:56:53 +01:00
Mariusz Felisiak
662497cece
Doc's check_password()'s setter and preferred arguments.
...
Follow up to 90e05aaeac
.
2022-11-28 08:13:51 +01:00
Riccardo Magliocchetti
df2db8b4a5
Adjusted BaseFormSet.get_form_kwargs example in docs.
2022-11-24 15:16:31 +01:00
KrishnaKumar Thanki
d526d1569c
Fixed typo in settings topic doc.
2022-11-23 14:32:58 +01:00
Anders Hovmöller
9582f2f9d1
Refs #32873 -- Adjusted formatting note on USE_L10N default.
2022-11-23 12:28:42 +01:00
sarahboyce
0678d65722
Refs #34099 -- Doc'd that custom Model.save() should update update_fields kwarg.
2022-11-14 13:43:07 +01:00
David Wobrock
67da22f08e
Fixed #34074 -- Added headers argument to RequestFactory and Client classes.
2022-11-14 10:21:51 +01:00
Tony Lechner
b088cc2fea
Fixed #34154 -- Made mixin headers consistent in auth docs.
2022-11-14 05:28:27 +01:00
Nick Pope
9bd174b9a7
Updated documentation and comments for RFC updates.
...
- Updated references to RFC 1123 to RFC 5322
- Only partial as RFC 5322 sort of sub-references RFC 1123.
- Updated references to RFC 2388 to RFC 7578
- Except RFC 2388 Section 5.3 which has no equivalent.
- Updated references to RFC 2396 to RFC 3986
- Updated references to RFC 2616 to RFC 9110
- Updated references to RFC 3066 to RFC 5646
- Updated references to RFC 7230 to RFC 9112
- Updated references to RFC 7231 to RFC 9110
- Updated references to RFC 7232 to RFC 9110
- Updated references to RFC 7234 to RFC 9111
- Tidied up style of text when referring to RFC documents
2022-11-10 13:52:17 +01:00
Trey Hunner
fad070b07b
Improved readability of string interpolation in frequently used examples in docs.
2022-11-10 13:18:38 +01:00
David Wobrock
0931d5b087
Improved async request factory and client docs.
2022-11-10 09:29:49 +01:00
Jon Janzen
321ecb40f4
Fixed #34135 -- Added async-compatible interface to related managers.
2022-11-09 10:32:40 +01:00
Adam Johnson
444b6da7cc
Refs #33939 -- Improved transaction.on_commit() docs.
2022-11-04 12:20:25 +01:00
Joseph Victor Zammit
71e9694856
Fixed #30801 -- Improved guidance for making good use of signals.
2022-11-02 17:21:15 +01:00
DevilsAutumn
d5bcdf858d
Fixed #34112 -- Added async-compatible interface to Model methods.
...
Thanks Adam Johnson for the review.
2022-11-02 09:14:17 +01:00
Filip Lajszczak
6103059592
Fixed #34054 -- Created a new fixtures topic.
...
Moved material from django-admin document into a new document, and
added new material.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-11-02 08:08:02 +01:00
Nick Pope
970f61fefb
Removed obsolete doc reference to asyncio.iscoroutinefunction.
2022-10-29 13:34:22 +02:00
Ralph Reid
d3579ca112
Fixed #25996 -- Revised performance section in URLs topic docs.
2022-10-10 08:02:35 +02:00
Gregor Gärtner
f0c06f8ab7
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
...
Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-08 08:07:38 +02:00
Gregor Gärtner
564b317fb5
Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to assertFormSetError().
...
Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-07 11:22:16 +02:00
J.V. Zammit
fa9ac16c13
Fixed #33797 -- Prioritized cached database backend for cached sessions in docs.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
2022-10-07 09:39:35 +02:00
Chris Wedgwood
468d061097
Fixed #33026 -- Mentioned RequestFactory in testing tools docs.
2022-09-29 05:58:45 +02:00
Paolo Melchiorre
fa3afc5d86
Fixed #34056 -- Updated the list of common passwords for CommonPasswordValidator.
2022-09-28 18:40:05 +02:00
Ritik Soni
c11336cd99
Fixed #34017 -- Doc'd that Argon2id variant is used by Argon2PasswordHasher.
2022-09-17 09:49:09 +02:00
DevilsAutumn
6b0bbaf453
Fixed #34019 -- Removed obsolete references to "model design considerations" note.
2022-09-17 08:02:13 +02:00
Allen Jonathan David
10178197d5
Fixed #33966 -- Added support for using KeyTextTransform from lookup.
2022-09-16 05:36:57 +02:00
Pamela Fox
8e93fc561e
Described Article-Reporter relationship in many-to-one topic.
2022-09-15 10:15:50 +02:00
Dhanush
6df9398cce
Corrected example of redundant all() in docs.
2022-09-09 13:34:14 +02:00
SirAbhi13
4a1150b41d
Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on_commit().
...
Thanks David Wobrock and Mariusz Felisiak for reviews.
2022-09-06 12:21:36 +02:00
Alex Morega
838cc0f449
Fixed #33965 -- Improved file-like object example of ImageField in docs.
...
This uses a valid image.
2022-08-31 12:33:04 +02:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
Iván Camilo Triviño López
411a6ec93a
Fixed #33958 -- Added imports to examples in "Expressions can reference transforms" section.
2022-08-30 06:03:53 +02:00
Mariusz Felisiak
081871bc20
Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
...
Follow up to 2eea361eff
.
2022-08-26 21:42:44 +02:00
Daniel Hahler
6f49b7b69b
Refs #18707 -- Corrected django.test.Client signature in docs.
2022-08-25 07:24:25 +02:00
Willem Van Onsem
16fffc829c
Fixed #33916 -- Added support for serialization of enum.Flag in migrations.
2022-08-25 06:43:48 +02:00
Alex Morega
7e6b537f5b
Fixed #33939 -- Used functools.partial() in transaction.on_commit() examples.
2022-08-23 11:55:30 +02:00
Youssef
0cbbed49f4
Fixed #33909 -- Corrected django.dispatch.receiver() signature.
2022-08-16 06:13:15 +02:00
Ramil Yanbulatov
d699594462
Refs #33842 -- Added :ttag: role in translations docs.
2022-08-09 14:51:59 +02:00
Ramil Yanbulatov
c6290bae9d
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
2022-08-09 14:44:51 +02:00
Alessandro Baccini
c614e811f8
Fixed typo in docs/topics/i18n/translation.txt.
2022-08-08 19:43:36 +02:00
Kamil Turek
e03cdf76e7
Fixed #31721 -- Allowed ModelForm meta to specify form fields.
2022-08-08 09:46:05 +02:00
rharri
6654289f5b
Fixed typo in docs/topics/testing/tools.txt.
2022-07-29 08:26:27 +02:00
Mariusz Felisiak
e20e5d1557
Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
...
Thanks Johnny Metz for the report.
Regression in 71ec102b01
.
2022-07-26 20:21:27 +02:00
Mariusz Felisiak
a1e9e9abc5
Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations."
...
This reverts commit 41019e48bb
.
2022-07-26 11:41:19 +02:00
Claude Paroz
3b79dab19a
Refs #33691 -- Deprecated insecure password hashers.
...
SHA1PasswordHasher, UnsaltedSHA1PasswordHasher, and UnsaltedMD5PasswordHasher
are now deprecated.
2022-07-23 21:29:31 +02:00
cheng
d4c5d2b52c
Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe.
2022-07-14 11:09:19 +02:00
David Wobrock
41019e48bb
Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations.
2022-07-08 07:05:55 +02:00
Aristotelis Mikropoulos
5eb6a2b33d
Fixed typo in docs/topics/signals.txt.
2022-07-02 16:45:24 +02:00
Pablo Montepagano
bb2c5f69f4
Fixed #32749 -- Doc'd PyMemcacheCache defaults.
2022-06-28 21:56:51 +02:00
Christopher Adams
90d2f9f416
Fixed #33422 -- Improved docs about isolating apps.
2022-06-27 11:29:21 +02:00
Grammy Jiang
ef9121f3e6
Updated OWASP Top 10 link in security topic.
2022-06-16 06:35:20 +02:00
Ciaran McCormick
286e7d076c
Fixed #33764 -- Deprecated BaseUserManager.make_random_password().
2022-06-03 07:30:57 +02:00
Tim Graham
61badf1d58
Fixed #33757 -- Clarified Client.post() file upload example.
2022-06-02 19:03:34 +02:00
Mariusz Felisiak
ac90529cc5
Fixed docs build with sphinxcontrib-spelling 7.5.0+.
...
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.
2022-05-31 11:17:01 +02:00