1
0
mirror of https://github.com/django/django.git synced 2024-12-22 00:55:44 +00:00
Commit Graph

14041 Commits

Author SHA1 Message Date
Andrew Miller
0fc6d5362b Fixed #26007 -- Clarified SingleObjectTemplateResponseMixin.get_template_names() docs. 2024-12-18 13:08:14 +01:00
David Smith
1e05431881 Refs #32819 -- Added aria-describedby property to BoundField. 2024-12-17 12:04:44 +01:00
suraj
0d9872fc9a Fixed #7732 -- Added support for connection pools on Oracle. 2024-12-17 11:26:32 +01:00
Mariusz Felisiak
2249370c86 Fixed #35992, Fixed #35997 -- Added system check for CompositePrimaryKeys in Meta.indexes/constraints/unique_together.
CompositePrimaryKeys are not supported in any of these options.
2024-12-17 10:28:40 +01:00
Andrés Reverón Molina
b44efdfe54 Fixed #34856 -- Fixed references to index_together in historical migrations.
While AlterUniqueTogether has been documented to be still allowed in historical
migrations for the foreseeable future it has been crashing since 2abf417c81
was merged because the latter removed support for Meta.index_together which the
migration framework uses to render models to perform schema changes.

CreateModel(options["unique_together"]) was also affected.

Refs #27236.

Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-12-17 09:59:39 +01:00
Chiemezuo
e9ed9ec043 Fixed #36008 -- Fixed order of database reset in TransactionTestCase docs. 2024-12-16 13:12:48 +01:00
Sage Abdullah
d7d711c68c Refs #35718, Refs #32179 -- Moved JSONObject to django.db.models.functions.json. 2024-12-16 12:06:01 +01:00
amansharma612
6f38697f90
Removed links to outdated tools in docs/topics/performance.txt.
Co-authored-by: Aman Sharma <210100011@iitb.ac.in>
2024-12-11 16:47:18 -03:00
Ben Cardy
f30b527f17
Fixed #25582 -- Added support for query and fragment to django.urls.reverse(). 2024-12-11 16:40:28 -03:00
Jacob Walls
2ce4545de1 Fixed #35920 -- Observed requires_system_checks in migrate and runserver.
Before, the full suite of system checks was run by these commands
regardless if requires_system_checks had been overridden.

Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-12-11 17:25:47 +01:00
Jeremy Thompson
918e7a2c76 Fixed #35989 -- Removed crs from GeoJSON serializer.
Specification of coordinate reference systems (crs) was removed from the GeoJSON spec in 2016.
https://datatracker.ietf.org/doc/html/rfc7946#appendix-B.1
2024-12-11 10:45:47 +01:00
Simon Charette
b0b3024720 Refs #35982 -- Made BaseDatabaseOperations.adapt_decimalfield_value() a no-op. 2024-12-09 09:46:06 +01:00
Francisco Couzo
a0db341c3c Added GeometryDistance to the GIS available functions table. 2024-12-09 09:36:17 +01:00
Mariusz Felisiak
6f6b261c3e Removed unused and unnecessary words from docs/spelling_wordlist.
This removes unused words and words contained within the Enchant
dictionary.
2024-12-09 09:34:18 +01:00
Ülgen Sarıkavak
c075d4c2c8 Made index view examples consistent in tutorial by removing trailing comma. 2024-12-06 12:53:54 +01:00
David Smith
edd74c3417 Refs #32819 -- Added id to ErrorList class and template. 2024-12-05 10:24:39 +01:00
Sarah Boyce
eb665e076c Cleaned up CVE-2024-53907 and CVE-2024-53908 security archive descriptions. 2024-12-04 16:59:57 +01:00
Sarah Boyce
595cb4a7ae Added CVE-2024-53907 and CVE-2024-53908 to security archive. 2024-12-04 16:30:03 +01:00
Sarah Boyce
828afd782f Added stub release notes for 5.1.5. 2024-12-04 16:23:59 +01:00
Simon Charette
8f8dc5a1fc Fixed CVE-2024-53908 -- Prevented SQL injections in direct HasKeyLookup usage on Oracle.
Thanks Seokchan Yoon for the report, and Mariusz Felisiak and Sarah
Boyce for the reviews.
2024-12-04 13:43:13 +01:00
Sarah Boyce
49ff1042aa Fixed CVE-2024-53907 -- Mitigated potential DoS in strip_tags().
Thanks to jiangniao for the report, and Shai Berger and Natalia Bidart
for the reviews.
2024-12-04 13:43:13 +01:00
Anders Hovmöller
871e1ee5ff
Removed question marks from headings in docs/topics/db/fixtures.txt. 2024-12-02 21:54:48 -03:00
Adam Johnson
2f6b096b83 Fixed #35950 -- Restored refreshing of relations when fields deferred.
Thank you to Simon Charette and Sarah Boyce for the review.

Regression in 73df8b54a2.
2024-12-02 16:01:37 +01:00
antoliny0919
32b9e00b0c Fixed #35964 -- Cleaned up can_order and can_delete formset examples. 2024-12-02 12:56:46 +01:00
SaJH
b0d9c1fe32 Updated docs example to clear cached_property without raising AttributeError.
Signed-off-by: SaJH <wogur981208@gmail.com>
2024-12-02 11:17:51 +01:00
jburns6789
b8f9f625a1 Fixed #35915 -- Clarified the empty list case in QueryDict.__getitem__() docs. 2024-12-02 11:11:05 +01:00
Clifford Gama
3d819e2324 Removed reference to "removing older versions of Django" in tutorial.
Obsoleted in c4fa0143f7.
The general install instructions are still linked above.
2024-11-29 17:10:16 +01:00
Bendeguz Csirmaz
978aae4334 Fixed #373 -- Added CompositePrimaryKey.
Thanks Lily Foote and Simon Charette for reviews and mentoring
this Google Summer of Code 2024 project.

Co-authored-by: Simon Charette <charette.s@gmail.com>
Co-authored-by: Lily Foote <code@lilyf.org>
2024-11-29 11:23:04 +01:00
Jaap Roes
ceecd518b1 Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin. 2024-11-28 17:43:46 +01:00
Salvo Polizzi
b82f80906a Fixed #35038 -- Created AlterConstraint operation. 2024-11-28 17:40:52 +01:00
Paolo Melchiorre
0977ec671a
Added parallelism support via --jobs to docs build Makefile rule. 2024-11-27 18:15:25 -03:00
Clifford Gama
e9929cb494
Made reverse() docs more self-contained. 2024-11-27 15:26:14 -03:00
Adam Zapletal
e9ed5da3cb
Removed trailing whitespace in docs. 2024-11-27 13:13:28 -03:00
Sarah Boyce
2544c15854 Added stub release notes and release date for 5.1.4, 5.0.10, and 4.2.17. 2024-11-27 15:41:18 +01:00
Brock
d8eb13f0f8 Fixed #35939 -- Linked documentation of Permission.content_type to the ContentType model. 2024-11-27 12:34:49 +01:00
Tommy Allen
c635decb00
Fixed #35942 -- Fixed createsuperuser crash on Python 3.13+ when username is unavailable.
Thanks Mariusz Felisiak and Jacob Tyler Walls for reviews.
2024-11-26 17:15:00 -03:00
Adam Zapletal
2e190a48d6
Added missing backticks to class-based views docs. 2024-11-26 17:10:39 -03:00
Jake Howard
4c452cc377
Fixed #35535 -- Added template tag decorator simple_block_tag().
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-11-19 14:35:02 -03:00
David Smith
9543c605c3 Fixed #35775 -- Confirmed support for GEOS 3.13. 2024-11-19 16:14:15 +01:00
Tim Schilling
17e544ece7 Updated maintainers of Django Debug Toolbar to Django Commons. 2024-11-19 12:01:19 +01:00
antoliny0919
c56e1273a9 Refs #32339 -- Updated formset docs to reflect default rendering as as_div. 2024-11-18 16:59:33 +01:00
Caitlin Hogan
ca113adbae Fixed typo in docs/topics/performance.txt. 2024-11-18 15:12:42 +01:00
Ben Cail
9609b48b91 Fixed #18392 -- Changed default mysql encoding to "utf8mb4". 2024-11-18 15:00:33 +01:00
nessita
2debd018db
Made cosmetic edits to 5.2 release notes, including line wrapping at 79 cols. 2024-11-15 23:30:47 -03:00
Lorenzo Peña
91c879eda5
Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-11-14 15:53:49 -03:00
Alexander Lazarević
8590d05d44 Fixed #35887 -- Added imports and admin.site.register to non-partial admin inline doc examples. 2024-11-14 12:09:50 +01:00
Anthony Joseph
512a2bad05 Removed misleading list of tested OS in GEOS API docs. 2024-11-14 11:36:44 +01:00
AfiMaameDufie
da2432ccca Replaced message suggestions from IRC to Discord in contributing docs. 2024-11-14 11:36:16 +01:00
Maria Hynes
7e759d9af7 Fixed #17430 -- Documented access to the Django admin when using a custom auth backend. 2024-11-14 10:29:32 +01:00
Laurence Mercer
56ffd9f20a Fixed a typo in docs/howto/static-files/deployment.txt. 2024-11-14 09:46:34 +01:00