Sage Abdullah
d7d711c68c
Refs #35718 , Refs #32179 -- Moved JSONObject to django.db.models.functions.json.
2024-12-16 12:06:01 +01:00
Ben Cardy
f30b527f17
Fixed #25582 -- Added support for query and fragment to django.urls.reverse().
2024-12-11 16:40:28 -03: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
Francisco Couzo
a0db341c3c
Added GeometryDistance to the GIS available functions table.
2024-12-09 09:36:17 +01:00
David Smith
edd74c3417
Refs #32819 -- Added id to ErrorList class and template.
2024-12-05 10:24:39 +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
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
Salvo Polizzi
b82f80906a
Fixed #35038 -- Created AlterConstraint operation.
2024-11-28 17:40:52 +01: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
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
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
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
antoliny0919
63dbe30d33
Updated validate_slug regular expression in form validation docs.
...
Outdated since 014247ad19
.
2024-11-11 14:50:13 +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
antoliny0919
18b3a9dd39
Fixed #35889 -- Corrected reference of default widgets in "Styling widget instance" docs.
2024-11-06 13:07:29 +01:00
antoliny0919
72de38239f
Fixed #35880 -- Removed invalid example in form Field.required docs due to CharField.strip.
...
CharField.strip was introduced in 11cac1bd8e
, and is True by
default, meaning the previous example of " " raised a ValidationError.
2024-11-05 15:32:03 +01:00
antoliny0919
4fcbdb11b1
Made minor edits to form fields docs.
2024-11-04 10:15:20 +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
antoliny0919
8864125d1f
Updated the "Built-in Field classes" section reference to a link.
2024-10-31 11:57:25 +01:00
Anthony Joseph
3a8f52fbc6
Fixed #35856 -- Added QuerySet.explain() support for MEMORY/SERIALIZE option on PostgreSQL 17+.
2024-10-30 15:54:48 +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
antoliny0919
8f3dee1dfd
Fixed #35873 -- Corrected Form.as_table() call in form docs.
2024-10-30 10:25:01 +01:00
aruseni
d7f78eb5d6
Corrected note on importing fields in model field reference docs.
2024-10-29 16:24:54 +01:00
Clifford Gama
799c377818
Fixed typo in ref/models/fields.txt.
2024-10-29 11:17:37 +01:00
antoliny0919
738e0601d5
Fixed #35871 -- Corrected example on altering the base_fields attribute in forms docs.
2024-10-29 08:39: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
Carlton Gibson
6dcab75d5d
Refs #26029 -- Extended docs for the StorageHandler default instance.
...
Third-party packages that provide storages need to rely on the
StorageHandler API in order to allow users to use the `storages` module
instance to override defaults. Minimally documenting these methods
allows package authors to rely on them.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-10-24 11:57:04 -03: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
Clifford Gama
4d11ea1ef0
Fixed #28999 -- Documented how to reverse a class-based view by instance.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-10-23 15:37:54 +02:00
Yash
35ab2e0182
Fixed #35731 -- Extended db_default docs.
...
This added a missing db_default reference in docs/topics/db/models.txt,
and added a reference to the DatabaseDefault object.
2024-10-23 11:48:30 +02: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
ssanger
df6013b2b4
Added missing alt attribute to <img> tag in docs.
2024-10-22 14:18:20 +02:00
Clifford Gama
65f3cfce59
Fixed #26322 -- Consolidated lazy relationships details in docs/ref/models/fields.txt.
...
Reorganized docs to list and explain the types of lazy relationships
that can be defined in related fields.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-10-17 11:39:40 -03:00
SaJH
4a685bc0dc
Fixed #35727 -- Added HttpResponse.text property.
...
Signed-off-by: SaJH <wogur981208@gmail.com>
2024-10-16 11:52:22 +02:00
leondaz
06bf06a911
Fixed #35656 -- Added an autodetector attribute to the makemigrations and migrate commands.
2024-10-15 16:39:12 +02:00
gabn88
e970bb7ca7
Fixed #35103 -- Used provided error code and message when fields is set without a condition on UniqueConstraint.
2024-10-10 09:20:37 +02:00
Jon Janzen
50f89ae850
Fixed #35303 -- Implemented async auth backends and utils.
2024-10-07 14:19:41 +02:00
nessita
1feedc8ef8
Reindented attributes and methods for classes in docs/ref/middleware.txt.
2024-10-02 14:21:10 -03:00
Aditya Chaudhary
efc3b0c627
Fixed #35670 -- Clarified the return value for LoginRequiredMiddleware's methods.
2024-10-02 13:15:21 -03:00