Ben Cail
acb6b786bc
Fixed #18392 -- Changed default mysql encoding to "utf8mb4".
2024-11-24 08:01:58 -08:00
Ryan Cheley
758538963c
Added examples in Python
...
This does most of the register.filter(is_safe=True) methods
2024-11-17 09:14:41 -08:00
Lorenzo Peña
cb068a3e44
Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-11-17 07:58:31 -08:00
Alexander Lazarević
10b4228031
Fixed #35887 -- Added imports and admin.site.register to non-partial admin inline doc examples.
2024-11-17 07:58:31 -08:00
Anthony Joseph
73928c9833
Removed misleading list of tested OS in GEOS API docs.
2024-11-17 07:58:31 -08:00
sai-ganesh-03
4f355924c9
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-17 07:58:30 -08:00
antoliny0919
5feb83679a
Updated validate_slug regular expression in form validation docs.
...
Outdated since 014247ad1922931a2f17beaf6249247298e9dc44.
2024-11-17 07:58:30 -08:00
Adam Zapletal
8c972a1d0d
Updated BRIN index links in contrib.postgres indexes docs.
2024-11-17 07:58:30 -08:00
sai-ganesh-03
08918acec3
Fixed #27409 -- Made admindocs support custom link text in docstrings.
2024-11-17 07:58:30 -08:00
antoliny0919
eacfe0137c
Fixed #35889 -- Corrected reference of default widgets in "Styling widget instance" docs.
2024-11-17 07:58:30 -08:00
antoliny0919
2e02d07690
Fixed #35880 -- Removed invalid example in form Field.required docs due to CharField.strip.
...
CharField.strip was introduced in 11cac1bd8ef7546ca32d9969d4348bf412dc6664, and is True by
default, meaning the previous example of " " raised a ValidationError.
2024-11-17 07:58:30 -08:00
antoliny0919
71d260ab80
Made minor edits to form fields docs.
2024-11-17 07:58:30 -08:00
David Smith
fd82e00697
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-17 07:58:30 -08:00
antoliny0919
e5dbb627ff
Updated the "Built-in Field classes" section reference to a link.
2024-11-17 07:58:30 -08:00
Anthony Joseph
c2e1bfbe9b
Fixed #35856 -- Added QuerySet.explain() support for MEMORY/SERIALIZE option on PostgreSQL 17+.
2024-11-17 07:58:30 -08:00
Johanan-Ayadata
ff75ae3b62
Added missing lang attributes to html elements in docs.
2024-11-17 07:58:30 -08:00
aruseni
4a90b0b227
Clarified default behavior when fields and fieldsets are not set on ModelAdmin.
2024-11-17 07:58:30 -08:00
antoliny0919
3fbc7ff11b
Fixed #35873 -- Corrected Form.as_table() call in form docs.
2024-11-17 07:58:30 -08:00
aruseni
c4832e7193
Corrected note on importing fields in model field reference docs.
2024-11-17 07:58:30 -08:00
Clifford Gama
3cd08b222b
Fixed typo in ref/models/fields.txt.
2024-11-17 07:58:30 -08:00
antoliny0919
d8e3c73ec2
Fixed #35871 -- Corrected example on altering the base_fields attribute in forms docs.
2024-11-17 07:58:30 -08:00
Mariusz Felisiak
df6241ff0b
Refs #35803 -- Added support for __covers GIS lookup on MySQL.
2024-11-17 07:58:30 -08:00
Mariusz Felisiak
3e4d3e707a
Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+.
2024-11-17 07:58:30 -08:00
Mariusz Felisiak
ecb0415ee9
Refs #35803 -- Added support for __coveredby GIS lookup on MySQL and MariaDB 11.7+.
2024-11-17 07:58:30 -08:00
Carlton Gibson
446bb2dac8
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-11-17 07:58:30 -08:00
koresi
cb7f1180a8
Fixed #22828 -- Warned that ModelAdmin get hooks return the property itself rather a copy.
2024-11-17 07:58:30 -08:00
David D Lowe
0208305b00
Doc'd that unusable passwords are defined by metadata in the password field.
2024-11-17 07:58:30 -08:00
Clifford Gama
5a65adb2f8
Fixed #28999 -- Documented how to reverse a class-based view by instance.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-11-17 07:58:30 -08:00
Yash
33887d9f84
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-11-17 07:58:30 -08:00
David Smith
523c1efe14
Refs #34406 -- Added support for GDAL curved geometries.
...
Co-authored-by: Fabien Le Frapper <contact@fabienlefrapper.me>
2024-11-17 07:58:30 -08:00
ssanger
608422addc
Added missing alt attribute to <img> tag in docs.
2024-11-17 07:58:30 -08:00
Clifford Gama
ba50497dab
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-11-17 07:58:30 -08:00
SaJH
4c2b48e9a1
Fixed #35727 -- Added HttpResponse.text property.
...
Signed-off-by: SaJH <wogur981208@gmail.com>
2024-11-17 07:58:30 -08:00
leondaz
c88cad9ac6
Fixed #35656 -- Added an autodetector attribute to the makemigrations and migrate commands.
2024-11-17 07:58:30 -08:00
gabn88
8dc9020a41
Fixed #35103 -- Used provided error code and message when fields is set without a condition on UniqueConstraint.
2024-11-17 07:58:30 -08:00
Jon Janzen
2ae9341976
Fixed #35303 -- Implemented async auth backends and utils.
2024-11-17 07:58:29 -08:00
Ryan Cheley
a7435a5281
Merge branch 'django:main' into ticket-27106
2024-10-05 07:54:48 -07: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
Ryan Cheley
87d0d28d17
Added documentation for single filter for draft PR
2024-09-29 16:28:39 -07: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