Commit Graph

5411 Commits

Author SHA1 Message Date
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
Marc Gibbons 6765b6adf9
Fixed #35797 -- Removed debug context processor from default project template. 2024-09-30 16:52:28 -03:00
Chiara Mezzavilla 73e8e81141
Relocated path() explanation to docs/ref/urls.txt to simplify tutorial 1.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-09-30 13:31:26 -03:00
David Smith 1857b6663b Fixed #35776 -- Dropped support for GDAL 3.0. 2024-09-19 17:26:30 +02:00
Clifford Gama e1d226bc1c Fixed #35748 -- Documented that fields are excluded from a ModelForm when formfield() returns None.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-09-19 15:19:08 +02:00
saJaeHyukc fd92f24789 Fixed #34887 -- Added support for unlimited models.CharField on SQLite.
Signed-off-by: saJaeHyukc <wogur981208@gmail.com>
2024-09-16 13:31:06 +02:00
Csirmaz Bendegúz 5865ff5adc
Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is set. 2024-09-09 17:46:50 -03:00
Jake Howard e161bd4657 Fixed #35631 -- Added HttpRequest.get_preferred_type(). 2024-09-09 12:02:18 +02:00
Jon Ribbens 826ef00668
Fixed #35681 -- Corrected geoip2 docs when describing GeoIP2Exception. 2024-09-06 23:21:15 -03:00
Natalia 8c35a0a903 Fixed CVE-2024-45231 -- Avoided server error on password reset when email sending fails.
On successful submission of a password reset request, an email is sent
to the accounts known to the system. If sending this email fails (due to
email backend misconfiguration, service provider outage, network issues,
etc.), an attacker might exploit this by detecting which password reset
requests succeed and which ones generate a 500 error response.

Thanks to Thibaut Spriet for the report, and to Mariusz Felisiak, Adam
Johnson, and Sarah Boyce for the reviews.
2024-09-03 09:22:32 -03:00