4712 Commits

Author SHA1 Message Date
Markus Holtermann
a665ed5179 [3.2.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.
Thanks to Jakob Ackermann for the report.
2023-02-07 10:39:25 +01:00
Mariusz Felisiak
1a9098166e [3.2.x] 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.

Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main.
2022-06-27 08:10:48 +02:00
Markus Holtermann
1a1e8278c4 [3.2.x] Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag.
Thanks Keryn Knight for the report.

Backport of 394517f07886495efcf79f95c7ee402a9437bd68 from main.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-02-01 07:53:21 +01:00
Florian Apolloner
c7fe895bca [3.2.x] Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort template filter.
Thanks to Dennis Brinkrolf for the report.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04 10:19:49 +01:00
Mariusz Felisiak
ae242235db [3.2.x] Refs #33365, Refs #30530 -- Doc'd re_path() behavior change in Django 2.2.25, 3.1.14, and 3.2.10.
Follow up to d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6.
Backport of 5de12a369a7b2231e668e0460c551c504718dbf6 from main
2021-12-15 18:55:01 +01:00
Mariusz Felisiak
742d6bc8db [3.2.x] Corrected signatures of QuerySet's methods.
Backport of a17becf4c7f4e4057e8c94990e4b4999be0aea95 from main
2021-11-23 07:05:32 +01:00
Vikash Singh
947d2707c6 [3.2.x] Added Google Cloud Spanner to list of third-party DB backends.
Backport of 125f9afc2c42449ee79283fefa778651acfd4aed from main
2021-11-01 10:10:54 +01:00
Carlton Gibson
128179c0f8 [3.2.x] Refs #33182 -- Adjusted custom admin theming example to use correct template block.
Backport of a754b82dac511475b6276039471ccd17cc64aeb8 from main
2021-10-27 12:18:04 +02:00
Nick Frazier
fdc1c6435c [3.2.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Backport of 0d4e575c96d408e0efb4dfd0cbfc864219776950 from main
2021-10-18 08:24:36 +02:00
Sarah Abderemane
51e4dbfeb2 [3.2.x] Refs #27694 -- Doc'd lookups that can be chained with HStoreField key transforms.
Backport of 1953dd02b6719ee89fddbc3098d86968d79f3cd7 from main
2021-10-04 07:44:42 +02:00
Mariusz Felisiak
031ffc5c84 [3.2.x] Corrected field and model check messages in docs.
Follow up to 72d04e03855536cf36090aedbb7aa8f1c4c8b443.
Backport of 93f3b7a0ba2969109940775a18515728603afac6 from main
2021-09-28 10:58:18 +02:00
Claude Paroz
7607fe922f [3.2.x] Removed obsolete GEOS 3.5 requirement note.
Follow up to ea87a85fad9994dbb0748df25bc9c2d99b24809b.
Backport of 8036b53de61f16098a2f22c50621987182bdfaed from main
2021-09-24 18:53:36 +02:00
Mariusz Felisiak
e235c7815a [3.2.x] Fixed broken links and redirects in docs.
Backport of 1d16dbc74563ec9aeb4bdff870d0fe5064667b26 from main
2021-09-21 09:29:21 +02:00
Mariusz Felisiak
454ee4d3b8 [3.2.x] Corrected outputs and made cosmetic edits in GeoDjango tutorial.
Backport of b5bf026813ca9aff83243f901edd722e0d60c2ea from main
2021-09-17 09:15:28 +02:00
David Smith
b51e0a37cf [3.2.x] Doc'd Jinja2 form renderer.
Backport of 7132d17de1399345a38858c20221850bdef43d0e from main
2021-09-16 11:57:24 +02:00
David Sanders
a7be74d017 [3.2.x] Clarified type of Window()'s partition_by and order_by arguments.
Backport of ecf76cc1fb0ca7b02744fb63717cb1ac5f643916 from main
2021-09-10 12:27:55 +02:00
Jan Szoja
4e55806720 [3.2.x] Refs #25264 -- Doc's that not all default options are supported by every management command.
Backport of 3cca5fdd3eb5906a385adaf9872581d4ed359041 from main
2021-08-31 13:34:50 +02:00
Mariusz Felisiak
382374a360 [3.2.x] Corrected BaseDatabaseSchemaEditor.execute() signature in docs.
Backport of a5cb1ef6eb842c38627ff6685b977fd42a342b67 from main
2021-08-27 06:15:19 +02:00
Can Sarıgöl
69009f4952 [3.2.x] Fixed #33046 -- Added note about using length of cached result by QuerySet.count().
Backport of 7ea86076fc1128d43b47f4826cb25eb5ebb19f19 from main
2021-08-26 09:05:35 +02:00
Claude Paroz
d29a9ed504 [3.2.x] The geodjango mailing list moved to the Django Forum.
Backport of 6c3525a09db5177bf4e3856de85bf8b1300402d5 from main
2021-08-13 15:36:41 +02:00
Abhyudai
55daaa0c79 [3.2.x] Made minor edits to QuerySet.update_or_create() docs.
Backport of 85d47a58bf7dceced6a3e29a0715827b7a9d7d29 from main
2021-07-29 06:51:46 +02:00
Pēteris Caune
5fa70c91b4 [3.2.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of c258918a03532e5381818e20866266545edb5206 from main
2021-07-28 12:52:02 +02:00
Chris Jerdonek
aace6c531d [3.2.x] Fixed #32933 -- Documented BoundField.initial as preferred over Form.get_initial_for_field().
Backport of 6559a55eed09780b30ee3c3636ccf30318622bcf from main
2021-07-27 17:59:18 +02:00
abhiabhi94
bdd4cbe84a [3.2.x] Fixed #32957 -- Improved visibility of arguments sections in Model.save() docs.
Backport of f876c7d08e75d719df5cd34b97cac63fdaae3fcc from main
2021-07-26 08:50:40 +02:00
Abhyudai
de5a044cf4 [3.2.x] Fixed #32950 -- Removed myproject from imports in admin docs where appropriate.
Backport of 019424e44efe495bc5981eb9848c0bb398a6f068 from main
2021-07-23 06:20:07 +02:00
Jacob Walls
05e997c404 [3.2.x] Fixed typo in docs/ref/databases.txt.
Backport of 66058c575887ba958a407e276cadb7a7b05c7767 from main
2021-07-19 06:34:01 +02:00
Wille Marcel
527482c513 [3.2.x] Fixed typo in docs/ref/contrib/gis/tutorial.txt.
Backport of 6f60fa97b0b501ef7cc77e16392654bf27ec8db3 from main
2021-07-09 20:17:46 +02:00
Claude Paroz
1d53d2502d [3.2.x] Documented in_bulk behavior with nonexistent id_list items.
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>

Backport of 7309393c3a7dea7a34a1446e102df7432c4e7357 from main
2021-07-07 10:15:51 +02:00
Thomas Guettler
aaef4111ac [3.2.x] Fixed #32850 -- Doc'd Sitemap.paginator.
Backport of 775f7506d7fbabf79d8bdec4ccf039ce2870fe70 from main
2021-06-30 20:54:56 +02:00
David Smith
32b366a864 [3.2.x] Refs #32338 -- Improved accessibility of RadioSelect examples in docs.
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Backport of d8c17aa10c7f41e692fb6f5d0bf2fab7a90b9374 from main
2021-06-04 10:45:29 +02:00
Jacob Walls
f07d686974 [3.2.x] Fixed typos in docs.
Backport of f0d0d29f03448ba4f9cfef03f0605cc7e557c2c4 from main
2021-06-03 07:50:31 +02:00
Mariusz Felisiak
143d2a4bbf [3.2.x] Changed IRC references to Libera.Chat.
Backport of 66491f08fe86629fa25977bb3dddda06959f65e7 from main.
2021-05-20 12:25:07 +02:00
David D Lowe
33dec7b13b [3.2.x] Doc'd that HttpRequest.path doesn't contain a query string.
Backport of fa4e963ee7e6876581b5432363603571839ba00c from main
2021-05-19 11:58:35 +02:00
David Sanders
d743c37326 [3.2.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of dacc307d9396516e7d3609b7b91e2ec545c84ebc from main
2021-05-19 07:29:23 +02:00
Girish Sontakke
65b680a99a [3.2.x] Fixed #32755 -- Corrected Model.get_absolute_url() example in docs.
Backport of 27d4573d35935bff83c28bfd68a2ce5a7a6c600a from main
2021-05-18 11:31:03 +02:00
Nick Pope
cb91b2d9e3 [3.2.x] Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
Backport of c156e369553c75a30c78b8ed54a57b1101865105 from main
2021-05-17 12:16:09 +02:00
Nick Pope
55b89e8cac [3.2.x] Refs #32720 -- Fixed some broken links in docs.
Backport of 7c4ee487c7392a3a394caf62efad355fad639655 from main
2021-05-17 12:14:20 +02:00
Nick Pope
fab710d3ff [3.2.x] Fixed a typo in docs/ref/models/fields.txt.
datetime.date.utcnow() doesn't exist, should be .today().

Backport of 88b3982af396a7c2eca0db9c52dfa9830045cc19 from main
2021-05-12 12:12:10 +02:00
Carlton Gibson
bac416972d [3.2.x] Refs #32674 -- Noted that auto-created through table PKs cannot be automatically migrated.
Backport of 907d3a7ff4e12ad4ccc86af26a728007fe4d6fa2 from main
2021-04-29 15:14:15 +02:00
Adam Johnson
263ee4434f [3.2.x] Corrected introduction to range field lookups docs.
Follow up to 24b9f5082344a127147266dd52d5d2dcd1c9cb44.
Backport of 68e876c0953f882e54dddd49ef727f9e38e2d0d1 from main
2021-04-28 20:35:28 +02:00
Mariusz Felisiak
fbea64b8ce [3.2.x] Refs #32682 -- Renamed use_distinct variable to may_have_duplicates.
QuerySet.distinct() is not the only way to avoid duplicate, it's also
not preferred.

Backport of cd74aad90e09865ae6cd8ca0377ef0a5008d14e9 from main
2021-04-27 10:37:13 +02:00
Adam Johnson
4acce4d95f [3.2.x] Corrected File, ContentFile, and ImageFile signatures in docs.
Backport of 725ca1fb60da2ef1bb6db146cd2d735591e75fbd from main
2021-04-16 10:32:54 +02:00
Mariusz Felisiak
208e72276a [3.2.x] Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields on MySQL/MariaDB.
Thanks Matt Westcott for the report.

Regression in 779e615e362108862f1681f965ee9e4f1d0ae6d2.
Backport of ca9872905559026af82000e46cde6f7dedc897b6 from main
2021-04-14 21:13:27 +02:00
Claude Paroz
5eb17d31c3 [3.2.x] Fixed #32544 -- Confirmed support for GDAL 3.2 and GEOS 3.9.
Backport of e3cfba0029516aafe40f963378e234df2c0d33bb from main.
2021-04-07 17:04:10 +02:00
Mariusz Felisiak
42fea5d5b8 [3.2.x] Refs #30156 -- Corrected version in SpatiaLite install instructions.
Backport of da542ccab6d61e1467199b52f77f64a2d72f5faf from main
2021-04-06 12:45:15 +02:00
sreehari1997
5ebb8e65df [3.2.x] Fixed #32580 -- Doc'd that HttpRequest.get_host() may raise DisallowedHost.
Backport of 0860db225a4a7059c0884c87c0a7aa0035fd0d36 from main
2021-03-26 08:03:59 +01:00
Claude Paroz
3eb72ad30f [3.2.x] Refs #31003 -- Moved note about return value of QuerySet.bulk_create() to the first paragraph.
Backport of cac9ec73db35a6d38d33f271f4724da486c60e9f from main.
2021-03-25 20:35:40 +01:00
Simon Willison
601ceddf79 [3.2.x] Doc'd that RawSQL can be used with __in.
Backport of e53159747c53ca8db6c338998493fd8697d38fac from main
2021-03-25 10:33:16 +01:00
Jannis Vajen
e7ce304125 [3.2.x] Fixed page numbers in Paginator.get_elided_page_range() example in docs.
Backport of 4894a97578dbb816f142535586b0d6154d94ac8e from main
2021-03-24 07:35:55 +01:00
tim-mccurrach
153a681198 [3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main
2021-03-22 08:44:55 +01:00