Commit Graph

5394 Commits

Author SHA1 Message Date
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
Sarah Boyce 320dd27412 Fixed CVE-2024-45230 -- Mitigated potential DoS in urlize and urlizetrunc template filters.
Thanks MProgrammer (https://hackerone.com/mprogrammer) for the report.
2024-09-03 09:22:32 -03:00
github-user-en ad7f8129f3 Added EMAIL_USE_SSL to the 'Core Settings Topical Index' docs. 2024-09-03 10:16:20 +02:00
Hisham Mahmood 2b2a2c0e26 Fixed #35702 -- Removed connection pooling note for mysql drivers. 2024-08-30 09:08:32 +02:00
Adam Johnson 26a67943ac
Removed outdated note about lack of subquery support in MySQL. 2024-08-28 15:55:30 -03:00
Mariusz Felisiak 2b9f0b79bc Fixed typo in docs/ref/models/expressions.txt. 2024-08-28 09:08:16 -03:00
Mariusz Felisiak fed11ba461 Fixed typo in docs/ref/models/expressions.txt. 2024-08-28 09:08:16 -03:00
nabil-rady 231c0d8593 Fixed #35668 -- Added mapping support to format_html_join. 2024-08-20 08:20:34 +02:00
Clifford Gama ca1318988c Fixed #35671 -- Clarified string-based fields behavior when null=False. 2024-08-20 08:09:39 +02:00
David Smith 5ae9922666 Fixed typo of --no-startup in django-admin docs. 2024-08-13 11:18:42 +02:00
Devin Cox e03083917d Fixed #35586 -- Added support for set-returning database functions.
Aggregation optimization didn't account for not referenced set-returning annotations on Postgres.

Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-08-12 15:35:19 +02:00
Mariusz Felisiak f883bef054 Refs #35591 -- Removed hardcoded "stable" version in runserver warning. 2024-08-12 10:57:02 +02:00
Andrew Miller 69aa13ffb9 Fixed #35591 -- Added unsuitable for production console warning to runserver. 2024-08-09 10:34:10 +02: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
Andrew Miller cec62fb99e Refs #35591 -- Emphasized that runserver is not suitable for production. 2024-08-08 10:08:53 +02:00
Adam Johnson 49815f70e4 Refs #31405 -- Improved LoginRequiredMiddleware documentation.
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-08-08 10:05:31 +02: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