lufafajoshua
8733e9af99
Fixed #35470 -- Separated i18n and l10n globalization settings docs.
2024-06-13 09:09:46 +02:00
lufafajoshua
e2428292ab
Fixed #35401 -- Documented the conditional_page() decorator.
2024-06-12 13:11:29 +02:00
lufafajoshua
708b01c795
Refs #35401 -- Linked the CsrfViewMiddleware docs to the csrf_protect() decorator.
2024-06-12 13:11:29 +02:00
Mariusz Felisiak
0f694ce2eb
Made cosmetic edits to code snippets reformatted with blacken-docs.
2024-05-30 09:42:05 -03:00
Jake Howard
ff308a0604
Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.
...
This work should not generate any change of functionality, and
`urlsplit` is approximately 6x faster.
Most use cases of `urlparse` didn't touch the path, so they can be
converted to `urlsplit` without any issue. Most of those which do use
`.path`, simply parse the URL, mutate the querystring, then put them
back together, which is also fine (so long as urlunsplit is used).
2024-05-29 10:48:27 -03:00
Simon Törnqvist
d3a7ed5bcc
Fixed #35443 -- Changed ordinal to return negative numbers unchanged.
...
Previously, `-1` was converted to `"-1th"`. This has been updated to
return negative numbers "as is", so that for example `-1` is
converted to `"-1"`. This is now explicit in the docs.
Co-authored-by: Martin Jonson <artin.onson@gmail.com>
2024-05-27 10:54:25 +02:00
Mariusz Felisiak
b049bec7cf
Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0.
2024-05-27 09:49:25 +02:00
Adam Zapletal
99273fd525
Fixed #24076 -- Added warnings on usage of dates with DateTimeField and datetimes with DateField.
2024-05-23 12:03:57 +02:00
Natalia
05cce083ad
Removed versionadded/changed annotations for 5.0.
...
This also removes remaining versionadded/changed annotations for older
versions.
2024-05-22 15:44:07 -03:00
Hisham Mahmood
c7fc9f20b4
Fixed #31405 -- Added LoginRequiredMiddleware.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
Co-authored-by: Mehmet İnce <mehmet@mehmetince.net>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-22 08:51:17 +02:00
Natalia
676060d683
Refs #35189 -- Updated ModelAdmin.fieldsets screenshot in admin docs.
2024-05-22 00:13:55 -03:00
Marijke Luttekes
e4a693f50a
Fixed #35189 -- Improved admin collapsible fieldsets by using <details> elements.
...
This work improves the accessibility of the add and change pages in the
admin site by adding <details> and <summary> elements to the collapsible
fieldsets. This has the nice side effect of no longer requiring custom
JavaScript helpers to implement the fieldsets' show/hide capabilities.
Thanks to James Scholes for the accessibility advice, and to Sarah Boyce
and Tom Carrick for reviews.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-22 00:13:55 -03:00
Berker Peksag
4971a9afe5
Fixed #18119 -- Added a DomainNameValidator validator.
...
Thanks Claude Paroz for the review.
Co-authored-by: Nina Menezes <77671865+nmenezes0@users.noreply.github.com>
2024-05-21 23:11:12 +02:00
Ben Cail
0b33a3abc2
Fixed #35326 -- Added allow_overwrite parameter to FileSystemStorage.
2024-05-21 07:28:12 +02:00
Adam Johnson
50852b2c2c
Replaced fictional class 'extrapretty' in admin fieldsets docs.
2024-05-16 21:25:23 -03:00
Sarah Boyce
d4f6e6c088
Moved FileSystemStorage note in docs to the correct place.
2024-05-16 11:17:57 +02:00
Mariusz Felisiak
f030236a86
Fixed #35275 -- Fixed Meta.constraints validation crash on UniqueConstraint with OpClass().
...
This also introduces Expression.constraint_validation_compatible that
allows specifying that expression should be ignored during a constraint
validation.
2024-05-14 10:34:30 +02:00
alexgmin
dba05042dd
Added link to the csrf template tag in the csrf page.
2024-05-06 13:25:30 +02:00
sobolevn
9a27c76021
Fixed #35426 -- Updated querysets to be a required argument of GenericPrefetch.
2024-05-04 11:30:36 +02:00
Shamil
32d163e680
Fixed #35427 -- Corrected help text for makemessages --extension in docs/ref/django-admin.txt.
2024-05-03 22:48:17 -03:00
John Parton
914bf69171
Clarified when ImageField attributes are set.
2024-05-02 10:04:55 +02:00
Mariusz Felisiak
160c0ab13a
Fixed rendering XOR section in docs.
2024-05-02 09:26:44 +02:00
Mariusz Felisiak
85c154da2f
Fixed #35412 -- Dropped support for SQLite < 3.31.
2024-04-29 11:07:54 +02:00
Adam Zapletal
828b94b178
Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating forms.Fields.
2024-04-26 11:23:38 -03:00
David Sanders
f0d50a9379
Doc'd that RemoveField also drops related database objects in PostgreSQL.
2024-04-16 13:11:06 -03:00
Mohammad Kazemi
47c608202a
Extended docs for Q() objects mentioning the ~ (NOT) operator.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-04-15 13:16:35 -03:00
Adam Johnson
8bbf73ca74
Fixed settings path in docs for installing SpatiaLite with Homebrew.
...
Co-authored-by: Adam Zapletal <adamzap@gmail.com>
2024-04-10 18:15:42 -03:00
Carlton Gibson
ca5cd3e3e8
Refs #35354 -- Clarified FORCE_SCRIPT_NAME docs.
2024-04-05 15:13:54 +02:00
Giannis Terzopoulos
d658a3162f
Fixed #35233 -- Moved template engine system checks to backend methods.
...
Thanks Adam Johnson for reviews.
2024-03-27 08:14:54 +01:00
Adam Zapletal
fd2514d17d
Added RowNumber() link in Rank() docs.
2024-03-21 05:52:07 +01:00
Mariusz Felisiak
9c17010358
Refs #34059 , Refs #34060 -- Removed outdated warning about validation of JSONField constraints.
...
Known issues have been fixed in:
- 0d8fbe2ade
,
- c991602ce5
, and
- 26aae56144
.
2024-03-18 16:11:38 +01:00
Claude Paroz
10b31eea33
Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions.
2024-03-18 09:45:33 +01:00
Mariusz Felisiak
36a000858b
Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+.
...
Oracle 23c supports comparing boolean expressions.
2024-03-15 12:34:54 +01:00
Adam Zapletal
7326513a8f
Fixed #25595 -- Doc'd that URLValidator rejects file:// URIs without a host.
2024-03-11 08:17:49 +01:00
canhuynh1998
a7baa874d8
Fixed #35280 -- Improved iriencode filter example in docs.
2024-03-10 14:54:38 +01:00
Mariusz Felisiak
177e649396
Fixed broken links and redirects in docs.
2024-03-06 08:50:21 +01:00
Mohammad Alsakhawy
f06bb7c88a
Updated broken links in docs/ref/contrib/gis/tutorial.txt.
2024-03-06 05:50:47 +01:00
Sarah Boyce
fad334e1a9
Refs #33497 -- Added connection pool support for PostgreSQL.
...
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Ran Benita <ran@unusedvar.com>
2024-03-01 09:01:18 +01:00
Simon Charette
daf7d482db
Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
...
Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses.
2024-03-01 07:15:32 +01:00
kbehlers
3cb1ba50cc
Fixed typo in docs/ref/contrib/admin/index.txt.
2024-02-29 08:28:20 +01:00
Mariusz Felisiak
11695b8fdd
Removed #django-geo IRC channel in docs.
...
It's been inactive for several years.
2024-02-28 19:05:32 +01:00
David Sanders
7714ccfeae
Refs #34964 -- Doc'd that Q expression order is preserved.
2024-02-28 11:41:06 +01:00
Salvo Polizzi
6e1ece7ed5
Fixed #35090 -- Deprecated registering URL converters with the same name.
2024-02-23 15:54:49 +01:00
Sulabh Katila
eceb5e2eea
Fixed #34806 -- Made cached_db session backend resilient to cache write errors.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-21 21:51:58 -03:00
sandjio
9bd849c8d5
Fixed #35153 -- Added note about locale name notation to FORMAT_MODULE_PATH docs.
...
Co-authored-by: Paul Hermans <paul.hermans@benemtech.com>
2024-02-20 05:29:15 +01:00
Adam Johnson
7ba6c9edc5
Fixed #28011 -- Corrected Field.hidden docs.
2024-02-17 17:17:23 +01:00
Aaron Linville
7a05b8a2fa
Fixed #24018 -- Allowed setting pragma options on SQLite.
2024-02-16 12:59:19 +01:00
Tom Carrick
4ade8386eb
Fixed #10743 -- Allowed lookups for related fields in ModelAdmin.list_display.
...
Co-authored-by: Alex Garcia <me@alexoteiza.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Nina Menezes <https://github.com/nmenezes0 >
2024-02-05 21:42:04 -03:00
Ben Cail
02a600ff67
Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple database setup.
2024-02-05 08:25:23 +01:00
Anže Pečar
a0204ac183
Fixed #29280 -- Made the transactions behavior configurable on SQLite.
2024-01-30 11:42:34 +01:00