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
Alexander Lazarević
a5365339ea
Fixed #35141 -- Clarified the expected type of CACHE_MIDDLEWARE_SECONDS setting.
2024-01-29 19:18:43 +01:00
David Smith
1df8983aa3
Refs #35058 -- Added support for measured geometries to GDAL LineString.
2024-01-29 08:44:42 +01:00
David Smith
2005530920
Refs #35058 -- Made centroid available on all geometry types.
...
Centroid is available on all geometry types since GDAL 1.8.0.
Previously it was restricted to Polygon.
https://gdal.org/doxygen/classOGRGeometry.html#a91787f669b2a148169667e270e7e40df
2024-01-28 14:40:19 +01:00
Mariusz Felisiak
305757aec1
Applied Black's 2024 stable style.
...
https://github.com/psf/black/releases/tag/24.1.0
2024-01-26 12:45:07 +01:00
David Smith
3f6d939c62
Refs #35058 -- Added support for measured geometries to GDAL Point.
...
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-01-25 08:59:16 +01:00
duranbe
0450c9bdf1
Fixed #34971 -- Doc'd additional loggers.
...
Co-authored-by: duranbe <benoit.durand.mail@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-01-23 17:17:49 -03:00
David Smith
f4c5973464
Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.
...
Reflecting a change in the underlying GDAL library (since GDAL 2.1)
using coord_dim to set a geometries dimensions is deprecated in favor
of set_3d().
2024-01-23 05:37:59 +01:00
Salvo Polizzi
184d82d848
Fixed #35130 -- Doc'd django.db.close_old_connections().
...
This also adds close_db_connections() to the django.db.__all__.
2024-01-22 13:31:50 +01:00
Emmanuel Katchy
12ffcfc350
Updated "Dive Into Python" links.
2024-01-20 19:43:55 +01:00
David Smith
cfacd69ab8
Refs #35058 -- Added is_3d and set_3d() to OGRGeometry.
2024-01-18 10:48:40 +01:00