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

1882 Commits

Author SHA1 Message Date
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
Francisco Couzo
a0db341c3c Added GeometryDistance to the GIS available functions table. 2024-12-09 09:36:17 +01:00
Adam Zapletal
e9ed5da3cb
Removed trailing whitespace in docs. 2024-11-27 13:13:28 -03:00
Brock
d8eb13f0f8 Fixed #35939 -- Linked documentation of Permission.content_type to the ContentType model. 2024-11-27 12:34:49 +01:00
David Smith
9543c605c3 Fixed #35775 -- Confirmed support for GEOS 3.13. 2024-11-19 16:14:15 +01:00
Ben Cail
9609b48b91 Fixed #18392 -- Changed default mysql encoding to "utf8mb4". 2024-11-18 15:00:33 +01: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
sai-ganesh-03
c12bc980e5 Fixed #17905 -- Restricted access to model pages in admindocs.
Only users with view or change model permissions can access.
Thank you to Sarah Boyce for the review.
2024-11-11 16:56:03 +01:00
Adam Zapletal
54774e790d Updated BRIN index links in contrib.postgres indexes docs. 2024-11-11 14:49:24 +01:00
sai-ganesh-03
c2c544cf01 Fixed #27409 -- Made admindocs support custom link text in docstrings. 2024-11-06 14:39:18 +01:00
David Smith
cd4497254e Fixed #35883 -- Confirmed support for GDAL 3.9.
Updated test for change to exportToXML() which now errors out on unsupported projection methods. See https://github.com/OSGeo/gdal/issues/9223.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-11-04 09:24:17 +01:00
Johanan-Ayadata
97a6a678c4 Added missing lang attributes to html elements in docs. 2024-10-30 14:02:30 +01:00
aruseni
a8f8b5a477 Clarified default behavior when fields and fieldsets are not set on ModelAdmin. 2024-10-30 12:53:10 +01:00
Mariusz Felisiak
5cf88dcc57 Refs #35803 -- Added support for __covers GIS lookup on MySQL. 2024-10-25 07:55:55 +02:00
Mariusz Felisiak
c77573716a Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+. 2024-10-25 07:55:55 +02:00
Mariusz Felisiak
0b7edb9fcd Refs #35803 -- Added support for __coveredby GIS lookup on MySQL and MariaDB 11.7+. 2024-10-25 07:55:55 +02:00
koresi
b8e9cdf13b Fixed #22828 -- Warned that ModelAdmin get hooks return the property itself rather a copy. 2024-10-24 09:18:55 +02:00
David D Lowe
de2bb73904
Doc'd that unusable passwords are defined by metadata in the password field. 2024-10-23 14:20:36 -03:00
David Smith
04adff9f98
Refs #34406 -- Added support for GDAL curved geometries.
Co-authored-by: Fabien Le Frapper <contact@fabienlefrapper.me>
2024-10-22 17:24:36 -03:00
Jon Janzen
50f89ae850 Fixed #35303 -- Implemented async auth backends and utils. 2024-10-07 14:19:41 +02:00
David Smith
1857b6663b Fixed #35776 -- Dropped support for GDAL 3.0. 2024-09-19 17:26:30 +02:00
Jon Ribbens
826ef00668
Fixed #35681 -- Corrected geoip2 docs when describing GeoIP2Exception. 2024-09-06 23:21:15 -03:00
Jure Cuhalev
f8ef4579ea Doc'd that SessionMiddleware is required for the admin site.
The system check "admin.E410" was already checking for this, but the
requirement was not listed in docs/ref/contrib/admin/index.txt.
2024-08-08 08:48:41 -03:00
Mariusz Felisiak
304d256674
Used :pypi: role in docs where appropriate. 2024-08-05 10:35:50 -03:00
Natalia
90adba85b2 Refs #35380 -- Updated screenshots in admin docs. 2024-08-05 09:02:01 -03:00
Maryam Yusuf
b5f4d76bc4 Fixed #35464 -- Updated docs to note fieldsets have limited impact on TabularInlines. 2024-07-15 12:43:42 +02:00
Sarah Boyce
72b7b59680 Optimized admin docs images. 2024-06-25 17:45:20 -03:00
nessita
bcc327aa32
Refs #35380 -- Updated screenshots in admin docs.
When listing users, ensure that user first and last name are diverse.
2024-06-25 10:58:36 -03:00
Baptiste Mispelon
62300b81cf Fixed #12978 -- Added support for RSS feed stylesheets. 2024-06-18 17:25:43 +02:00
stefan.ivic
ce1ad98565 Fixed #35505 -- Added extrabody block to admin/base.html. 2024-06-18 16:49:53 +02: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
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
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
Adam Johnson
50852b2c2c Replaced fictional class 'extrapretty' in admin fieldsets docs. 2024-05-16 21:25:23 -03:00
sobolevn
9a27c76021 Fixed #35426 -- Updated querysets to be a required argument of GenericPrefetch. 2024-05-04 11:30:36 +02:00
Mariusz Felisiak
85c154da2f Fixed #35412 -- Dropped support for SQLite < 3.31. 2024-04-29 11:07:54 +02: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
Claude Paroz
10b31eea33 Refs #31014 -- Added srid argument to FromWKB/FromWKT() GIS functions. 2024-03-18 09:45:33 +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
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
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
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