Jake Howard
97fee0a3c0
Ensure return value can't be obtained for failed task
2024-12-13 16:10:20 +00:00
Jake Howard
b98708fd33
Remove option to use run_after
with timedelta
...
Managing when it applies and which timezone can be quite complex.
2024-11-29 16:22:44 +00:00
Jake Howard
70ee78741e
Simplify exception serialization to avoid issues with complex exceptions
2024-11-29 15:07:08 +00:00
Jake Howard
f2046bd7c3
Serialize arguments in task, rather than each backend
...
This avoids duplication, and makes backend implementations simpler
2024-11-22 14:58:49 +00:00
Jake Howard
47fd467bba
Make task ids opaque string
...
They no longer have to be UUIDs
2024-11-21 21:12:15 +00:00
Jake Howard
1e914655af
Add test for no backends configured
2024-11-21 13:41:20 +00:00
Jake Howard
05cb11334b
Remove stray type hints
2024-11-21 13:32:49 +00:00
Jake Howard
a418a8d6e9
Rename "Complete" tasks to "Succeeded"
...
"Complete" could imply it completed unsuccessfully
2024-11-21 13:31:29 +00:00
Jake Howard
5aa5ca95cd
"enqueue" is a word
2024-10-17 17:25:19 +01:00
Jake Howard
d83c561f9c
Remove typod module name
2024-10-17 17:22:47 +01:00
Jake Howard
646e0746f1
Update module level function methods
...
"global" can be confusing
2024-10-17 17:22:16 +01:00
Jake Howard
c92a97267a
Pass alias and params separately to backend
2024-10-17 17:12:06 +01:00
Jake Howard
a6153630ad
Remove reference to removed method
2024-10-17 17:05:57 +01:00
Jake Howard
358e0f4bf5
Flesh out tasks topic more
2024-10-17 17:05:30 +01:00
Jake Howard
a09bc9313c
Ensure different tenses of "enqueue" are words
2024-10-17 14:17:32 +01:00
Jake Howard
a9cf476e01
Add the starts of some documentation
...
Still lots more to write
2024-10-17 13:06:48 +01:00
Jake Howard
fef3662e5d
Remove unused util method
2024-10-17 10:03:59 +01:00
Jake Howard
499d040b0b
Don't enqueue on commit on tests with no DB connection
2024-10-04 14:46:35 +01:00
Jake Howard
673f061ee2
Cleanup from first pass review
2024-10-04 12:54:44 +01:00
Jake Howard
975fbdfbe8
Remove test database connection check
...
It doesn't work well with multiple databases configured
2024-09-27 14:02:47 +01:00
Jake Howard
23a316529d
Remove stray type ignore comments
2024-09-27 11:41:12 +01:00
Jake Howard
310412c2f1
Prune module exports
2024-09-27 11:38:50 +01:00
Jake Howard
606bcf89b1
Fixed DEP 10 -- Implement Tasks interface
2024-09-27 11:27:46 +01: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
r0Zh-ovanya
4b65dc2f21
Updated link with valid options for LANGUAGE_CODE in global_settings.py.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-09-19 09:18:05 -03:00
Mariusz Felisiak
1fa8493640
Refs #29522 -- Fixed serializers/fixtures test crash if PyYAML isn't installed.
2024-09-19 08:51:30 +02:00
Mariusz Felisiak
f8cc9285e1
Fixed #35074 -- Fixed adding/removing indexes when spatial_index is changed on MySQL, PostgreSQL, and Oracle.
...
Co-authored-by: Mário Falcão <mario@falcao.dev>
2024-09-19 08:12:11 +02:00
Sarah Boyce
ae1ee24178
Fixed #35766 -- Handled slices in BaseChoiceIterator.
2024-09-18 16:45:53 +02:00
Bendeguz Csirmaz
9ca1f6eff6
Refs #373 , Refs #24121 -- Added ColPairs.__repr__().
2024-09-17 14:25:58 +02:00
Amir Karimi
ee5147cfd7
Fixed #29522 -- Refactored the Deserializer functions to classes.
...
Co-authored-by: Emad Mokhtar <emad.mokhtar@veneficus.nl>
2024-09-17 11:00:49 +02:00
Jacob Walls
a060a22ee2
Fixed #35660 -- Made serialized_rollback and fixture data available in TransactionTestCase.setUpClass().
2024-09-17 09:53:46 +02:00
Jacob Walls
8eca3e9bce
Refs #35660 -- Updated TransactionTestCase methods into class or static methods.
2024-09-17 09:53:46 +02:00
Fabian Braun
d2c97981fb
Fixed #35735 -- Enabled template access to methods and properties of classes with __class_get_item__.
2024-09-17 09:52:44 +02:00
Claude Paroz
8b9a2bf34e
Fixed #35762 -- Avoided unneeded quote_name() calls in SQLite introspection.
...
Double-quoting string literals is deprecated in recent SQLite versions.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-09-17 08:56:44 +02:00
Carlton Gibson
c0128e3a81
Fixed #35767 -- Adjusted customizing User model docs.
2024-09-16 17:40:11 -03:00
Lily Foote
d50f61be7f
Improved TokenType.COMMENT test by using correct block syntax in template tests.
2024-09-16 10:30:30 -03: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
Sarah Boyce
121747fdba
Removed setting the release schedule from Steering Council prerogatives as per DEP 44.
2024-09-16 12:15:41 +02:00
Claude Paroz
b579485d99
Fixed #34221 -- Honored translation precedence with mixed plural forms.
2024-09-16 11:04:09 +02:00
khanxmetu
1f3f0cd8ca
Fixed #35754 -- Mapped full-width characters in latex to half-width.
2024-09-13 16:52:07 +02:00
Sarah Boyce
ccd6e13cc9
Pinned Miniforge in benchmark workflow.
2024-09-13 14:08:01 +02:00
suraj
8dd3f7d538
Closed connection pool in clean up of test_allowed_database_copy_queries.
2024-09-13 12:37:37 +02:00
Richard Laager
16af0c60ed
Fixed #35755 -- Hid help text of hidden fields in admin fieldsets.
...
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
2024-09-12 13:49:07 +02:00
Amir Karimi
b2501759eb
Refs #29522 -- Improved test coverage of deserializers.
2024-09-12 13:44:28 +02:00
Ronny V.
f4813211e2
Added example of email sending with additional capabilities to docs/topics/email.txt.
...
Co-authored-by: Mike Edmunds <medmunds@gmail.com>
2024-09-11 13:04:43 -03:00
Csirmaz Bendegúz
96c990795c
Refs #373 -- Removed outdated comment in RelatedIn lookup.
2024-09-11 11:32:06 -03:00
Gastón Avila
c3ca6075cc
Fixed #35732 -- Wrapped ConcatPair expression in parentheses to ensure operator precedence.
...
When ConcatPair was updated to use || this lost the implicit wrapping from CONCAT(...).
This broke the WHERE clauses when used in combination with PostgreSQL trigram similarity.
Regression in 6364b6ee1071381eb3a23ba6b821fc0d6f0fce75.
Co-authored-by: Emiliano Cuenca <106986074+emicuencac@users.noreply.github.com>
2024-09-11 14:36:56 +02:00
Clifford Gama
38c2065154
Refs #35060 -- Fixed the update to update_fields in overridden save() method docs.
...
Regression in 3915d4c70d0d7673abe675525b58117a5099afd3.
2024-09-11 13:23:36 +02:00
Bendeguz Csirmaz
0bfaa55708
Fixed #35752 -- Fixed crash when using In() lookup in filters.
2024-09-11 12:42:17 +02:00
Bendeguz Csirmaz
727587c089
Refs #373 -- Refactored variable assignments in ColPairs and tuple lookups.
2024-09-11 11:23:01 +02:00