Keerthi Vasan
5473e98095
refactor: rename overflow var to a clear name
2024-02-23 23:16:52 +05:30
Keerthi Vasan
cf43a55647
refactor: move repr fill value generation to custom class
2024-02-23 23:10:32 +05:30
Keerthi Vasan
4182d06f7c
chore: added tests for debug repr class
2024-02-23 23:08:16 +05:30
Keerthi Vasan
f6a198fe60
fix: apply suggested changes, move to text module
2024-02-23 22:29:42 +05:30
Keerthi Vasan S A
c7f0d1f0bc
feat: apply changes from review suggestions
...
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2024-02-23 20:24:23 +05:30
Keerthi Vasan
03c45aa696
refactor: create constant for limit, move repr creation into pprint()
2024-02-10 12:06:38 +05:30
Keerthi Vasan
4a10aa1b4f
fix: create template pprint from repr implementation
2024-02-03 18:57:09 +05:30
Keerthi Vasan
0f59f75254
fix: auth tests - quote all strings in repr implementation
2024-02-03 18:21:13 +05:30
Keerthi Vasan
3248acee53
chore: moved tests to test_debug, fixed all debug tests
2024-02-03 11:21:27 +05:30
Keerthi Vasan
27dc608eb3
fix: custom repr implementation for consistency with pprint
2024-02-02 22:38:08 +05:30
Keerthi Vasan
2a977f6705
completely switch to repr, added tests for repr exception reports
2024-02-02 16:15:12 +05:30
Keerthi Vasan
03c7c2d095
chore: Added contributor name in AUTHORS
2024-02-02 12:42:54 +05:30
Keerthi Vasan
9c1458d9ee
fix: add a threshold limit for variable size in pretty printing exception report
2024-02-02 12:29:19 +05:30
Petar Netev
0630ca5725
Fixed #35147 -- Added backward incompatibility note about filtering against overflowing integers.
2024-02-01 18:34:43 +01:00
Claude Paroz
f71bcc001b
Changed packing recommendation to use pyproject.toml in reusable apps docs.
2024-02-01 11:01:57 +01:00
Ebram Shehata
2152246c0a
Fixed typo in docs/topics/db/managers.txt.
2024-02-01 09:25:09 +01:00
Priya
6f2c7cf6b4
Removed mention of designers in DTL design philosophy.
...
Signed-off-by: Priya Pahwa <pahwa.priya19@gmail.com>
2024-02-01 09:20:11 +01:00
Candide U
f6387df37b
Fixed #35152 -- Added en_CA locale formats.
...
Formatting rules sourced from:
- https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/numbers-decimal-fractions.html
- https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/time-of-day-elapsed-time.html
- 1ac397674b2f64d48e66502a20b9d9ca6bfb579a
2024-02-01 05:22:31 +01:00
Candide U
55f9512489
Corrected FIRST_DAY_OF_WEEK for fr_CA.
...
Thanks Simon Charette for the review.
2024-02-01 05:22:31 +01:00
James Thorniley
11393ab131
Fixed #35059 -- Ensured that ASGIHandler always sends the request_finished signal.
...
Prior to this work, when async tasks that process the request are cancelled due
to receiving an early "http.disconnect" ASGI message, the request_finished
signal was not being sent, potentially leading to resource leaks (such as
database connections).
This branch ensures that the request_finished signal is sent even in the case
of early termination of the response.
Regression in 64cea1e48f285ea2162c669208d95188b32bbc82.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2024-01-31 14:40:57 -03:00
Natalia
a43d75e81d
Refs #35059 -- Made asgi tests' SignalHandler helper class re-usable by other tests.
2024-01-31 14:39:40 -03:00
Ben Cail
b3dc80682e
Fixed #35156 -- Removed outdated note about not supporting foreign keys by SQLite.
2024-01-31 17:48:42 +01:00
Mariusz Felisiak
38eaf2f21a
Fixed #35159 -- Fixed dumpdata crash when base querysets use prefetch_related().
...
Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51
following deprecation in edbf930287cb72e9afab1f7208c24b1146b0c4ec.
Thanks Andrea F for the report.
2024-01-31 16:10:05 +01:00
David Smith
d3922e9e5a
Refs #35058 -- Added support for measured geometries to GDAL Polygon.
2024-01-31 13:11:16 +01:00
Marijke Luttekes
b9e2a3fc63
Fixed #35143 -- Improved accessibility of 404/500 debug pages.
...
This:
- changes the header, main, and footer content areas to be rendered
in a <header>, <main>, and <footer> tags,
- adds scope attributes to <th>,
- uses <code> for a patterns list,
- uses <small> instead of <span>.
2024-01-31 12:26:00 +01:00
Baptiste Mispelon
c317e81378
Made cosmetic edits to rocket SVG in the "Congrats" page.
...
This removes unnecessary <circle> from rocket SVG, and avoids
repeating the SVG rocket's color for the porthole.
2024-01-30 16:13:04 +01:00
Anže Pečar
a0204ac183
Fixed #29280 -- Made the transactions behavior configurable on SQLite.
2024-01-30 11:42:34 +01:00
evananyonga
ae8baaee9d
Corrected BaseCommand.check() signature in docs.
2024-01-30 11:10:38 +01:00
Nicolas Delaby
820c5f1bac
Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.
...
Regression in 59f475470494ce5b8cbff816b1e5dafcbd10a3a3.
2024-01-29 20:29:49 +01:00
Alexander Lazarević
a5365339ea
Fixed #35141 -- Clarified the expected type of CACHE_MIDDLEWARE_SECONDS setting.
2024-01-29 19:18:43 +01:00
Alexander Lazarević
22785f0d6b
Refs #35141 -- Corrected value of CACHE_MIDDLEWARE_SECONDS in CacheMiddlewareTest tests.
2024-01-29 19:18:43 +01:00
Natalia
06d0a1bd56
Added stub release notes and release date for 5.0.2, 4.2.10, and 3.2.24.
2024-01-29 11:41:53 -03:00
Kris Avi
b7154f811f
Fixed #24128 -- Made admindocs TemplateDetailView respect template_loaders.
...
Co-Authored-By: Author: Alexander Lazarević <laza@e11bits.com>
2024-01-29 10:28:00 +01:00
David Smith
1df8983aa3
Refs #35058 -- Added support for measured geometries to GDAL LineString.
2024-01-29 08:44:42 +01:00
Claude Paroz
41aaf5aafa
Updated translations from Transifex.
...
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2024-01-29 06:10:52 +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
Michael K
9c6d7b4a67
Updated Python license for 2024.
2024-01-27 11:54:02 +01:00
Mariusz Felisiak
e676f56527
Bumped versions in Github actions configuration.
2024-01-26 13:41:52 +01:00
Mariusz Felisiak
d3171009f2
Ignored 305757aec19c9d5111e4d76095ae0acd66163e4b formatting changes in git blame.
2024-01-26 12:46:08 +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
David Smith
3f6d939c62
Refs #35058 -- Added support for measured geometries to GDAL Point.
...
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-01-25 08:59:16 +01:00
Baptiste Mispelon
a702a0773d
Added test for the sendtestemail command when no recipients are given.
2024-01-24 15:02:42 -03:00
Marijke Luttekes
e412d85b46
Fixed #35115 -- Made admin's footer render in <footer> tag.
2024-01-24 14:11:54 +01:00
duranbe
0450c9bdf1
Fixed #34971 -- Doc'd additional loggers.
...
Co-authored-by: duranbe <benoit.durand.mail@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-01-23 17:17:49 -03:00
Syed Waheed
d9b91e3836
Fixed #32923 -- Refactored out Field._clean_bound_field().
2024-01-23 09:47:31 +01:00
Hisham Mahmood
bbfbf0ab68
Refs #33517 -- Prevented __second lookup from returning fractional seconds on Oracle.
2024-01-23 09:09:24 +01:00
David Smith
f4c5973464
Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.
...
Reflecting a change in the underlying GDAL library (since GDAL 2.1)
using coord_dim to set a geometries dimensions is deprecated in favor
of set_3d().
2024-01-23 05:37:59 +01:00
Adrienne Franke
8570e091d0
Fixed typo in docs/topics/auth/default.txt.
2024-01-22 17:43:13 +01:00
Salvo Polizzi
184d82d848
Fixed #35130 -- Doc'd django.db.close_old_connections().
...
This also adds close_db_connections() to the django.db.__all__.
2024-01-22 13:31:50 +01:00
David Smith
1c3a9b9f96
Added more WKT and WKB tests.
2024-01-22 10:40:32 +01:00