1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
Commit Graph

31823 Commits

Author SHA1 Message Date
Rishi Joshi
1c7aed71ec Fixed typos in docs/faq/contributing.txt. 2023-04-06 19:25:59 +02:00
Mariusz Felisiak
4bf4222010 Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.
Thanks Patryk Zawadzki for the report.

Regression in 09ffc5c121.
2023-04-06 13:32:47 +02:00
Mariusz Felisiak
02a04ab79a Moved SearchVectorIndexTests.test_search_vector_index to postgres_tests.test_indexes. 2023-04-06 13:32:47 +02:00
Yahya Ali
263db8af46
Fixed #34463 -- Corrected code-block directives in docs.
Thanks ExTexan for the report.
2023-04-06 13:08:12 +02:00
Sarah Boyce
bdf59bff65
Refs #34028 -- Doc'd that get_script_prefix() cannot be used outside of the request-response cycle. 2023-04-06 13:01:26 +02:00
Mariusz Felisiak
38e63c9e61
Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.12+.
2a4d8c0a9e
2023-04-05 13:59:10 +02:00
Mariusz Felisiak
fdf0a367bd Added release date for 4.1.8. 2023-04-05 06:09:31 +02:00
Simon Charette
87c63bd8df Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
Thanks Andrew Cordery for the report.

Regression in b3db6c8dcb.
2023-04-05 05:38:10 +02:00
David Sanders
ff9ceed32b Refs #34434 -- Added note about breaking changes in psycopg version 3 to release notes. 2023-04-04 16:30:15 +02:00
Simon Charette
0e1aae7a5f Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.
Thanks Roman Odaisky for the report.
2023-04-04 14:35:21 +02:00
Swara
79a3ea83b1 Fixed Central Kurdish (Sorani) translations of date-related strings. 2023-04-04 11:11:19 +02:00
Ben Lomax
f2b97fbf06 Moved cache decorators tests into decorators/test_cache.py. 2023-04-04 09:53:31 +02:00
Mariusz Felisiak
073b5fd400
Updated release process for 2.0+ release numbering and latest practices. 2023-04-04 07:27:34 +02:00
th3nn3ss
1d1ddffc27 Fixed #33738 -- Allowed handling ASGI http.disconnect in long-lived requests. 2023-04-03 14:01:48 +02:00
Mariusz Felisiak
4e4eda6d6c Added stub release notes for 4.2.1. 2023-04-03 11:17:54 +02:00
Mariusz Felisiak
8adbab49e1 Finalized release notes for Django 4.2. 2023-04-03 09:00:23 +02:00
Mariusz Felisiak
982f904f4f Updated translations from Transifex.
Forwardport of fa68771932 from stable/4.2.x.
2023-04-03 08:40:06 +02:00
Edison Wang
cbcc1240e9 Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs. 2023-04-03 06:58:25 +02:00
Tim Graham
465f3c045b
Prevented PostgreSQL's DatabaseCreation._execute_create_test_db() from hiding clause-less exceptions.
Regression in 3cafb783f3.
2023-04-03 05:54:34 +02:00
Mariusz Felisiak
56dadad743
Updated Transifex configuration for new CLI. 2023-04-02 09:54:33 +02:00
Ran Benita
066aabcb77 Fixed #34445 -- Fixed string-casting of non-string lazy objects.
This removes __text_cast() as it's the same as __cast().
_delegate_bytes and __delegate_text are mutually exclusive so the
`if self._delegate_bytes` branch in __cast() is unreachable.

Co-Authored-By: David Sanders <shang.xiao.sanders@gmail.com>
2023-03-30 11:42:10 +02:00
Ran Benita
0a132de7eb Removed unused __bytes_cast_encoded() from proxy class in lazy().
Unused since c716fe8782.
2023-03-30 11:42:10 +02:00
JiriKr
cfe563ffaf Fixed #34446 -- Removed unneeded and incorrect example in coding style docs. 2023-03-30 11:06:52 +02:00
Mariusz Felisiak
7330408ac3
Reverted "Refs #31949 -- Enabled @sensitive_variables to work with async functions."
This reverts commits 23cbed2187 and
203a15cadb.
2023-03-30 10:22:23 +02:00
Mariusz Felisiak
b347dc63d5
Refs #34383 -- Corrected margins in admin fieldsets with multiple fields on the same line on small screens.
Regression in d687febce5.
2023-03-29 20:06:49 +02:00
Mariusz Felisiak
93faad78cc
Bumped versions in pre-commit and npm configurations. 2023-03-29 16:26:53 +02:00
Tim Graham
080e13a6ef
Fixed overindentation of AdminURLFieldWidget.
Regression in 96a598356a.
2023-03-29 12:40:35 +02:00
David Sanders
5dba5fda55
Fixed #34427 -- Improved error message when context processor does not return a dict. 2023-03-29 08:54:04 +02:00
Mariusz Felisiak
996c802229
Fixed #34443 -- Fixed filtering by transforms on reverse relations.
Regression in ce6230aa97.
2023-03-28 21:03:24 +02:00
Mariusz Felisiak
3afdc9e9b4
Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.
Bug in cd1afd553f.
2023-03-28 19:18:48 +02:00
Gary Jarrel
fcc7dc5781 Fixed #34438 -- Reallowed extending UserCreationForm.
Regression in 298d02a77a.
2023-03-28 11:33:20 +02:00
sarahboyce
45ecd9acca Fixed #28384 -- Fixed ModelAdmin.lookup_allowed() for OneToOneField primary keys and nested relations. 2023-03-28 09:26:39 +02:00
Tom Carrick
d687febce5 Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields on the same line.
Thanks Antonio Candido Nazareth junior for the report.

Regression in 96a598356a.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-03-27 14:05:24 +02:00
David Wobrock
21757bbdcd Refs #28948 -- Removed superfluous messages from cookie through bisect. 2023-03-27 09:22:00 +02:00
David Wobrock
9d0c878abf Refs #28948 -- Precomputed once serialized cookie messages.
When the cookie size is too long, the same messages were serialized
over and over again.
2023-03-27 09:14:54 +02:00
David Wobrock
67208a5ad6 Fixed typo in tests/messages_tests/test_cookie.py. 2023-03-27 08:55:48 +02:00
Simon Charette
cb13792938
Fixed #34437 -- Made values() resolving error mention selected annotations.
While the add_fields() call from set_values() does trigger validation it
does so after annotations are masked resulting in them being excluded
from the choices of valid options surfaced through a FieldError.
2023-03-25 20:22:45 +01:00
Mariusz Felisiak
f5c5c571d3
Refs #34316 -- Fixed layout of admin password change forms and help texts for RTL languages.
Regression in 96a598356a.

Follow up to e678046681 and
39d1e45227.
2023-03-24 20:47:34 +01:00
Mariusz Felisiak
cffcf0ef17
Refs #32539 -- Fixed hide counts icon for RTL languages.
Bug in 868e2fcdda.
2023-03-24 13:42:00 +01:00
Mariusz Felisiak
659f6b5bc5
Fixed typos in docs/ref/forms/renderers.txt. 2023-03-24 12:54:47 +01:00
David Smith
cad376f844 Fixed #34077 -- Added form field rendering. 2023-03-24 10:16:30 +01:00
Carlton Gibson
d33368b4ab Added Django Forum to mailing lists page. 2023-03-24 08:32:17 +01:00
David Wobrock
d6b6e5d0fd Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list() on compound queries.
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2023-03-24 06:09:27 +01:00
Mariusz Felisiak
39d1e45227
Refs #34316 -- Fixed displaying error lists in admin password change forms on small screens.
Follow up to e678046681.
2023-03-23 10:44:01 +01:00
Mariusz Felisiak
73ae8545ae
Refs #33781 -- Restored alignment for admin split-field timezone warnings for RTL languages.
Regression in f3e2bb0833.
2023-03-23 10:32:56 +01:00
Jesper Olsson
216eb63883
Fixed #34409 -- Doc'd limitation of dictfetchall() and namedtuplefetchall() examples.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-03-22 19:20:58 +01:00
Carlton Gibson
b00046d2c2 Doc'd use of asgiref.sync adapters with sensitive variables. 2023-03-22 14:36:42 +01:00
Carlton Gibson
203a15cadb
Refs #31949 -- Adjusted error reporting docs. 2023-03-22 11:01:40 +01:00
Jon Janzen
23cbed2187
Refs #31949 -- Enabled @sensitive_variables to work with async functions. 2023-03-22 10:21:04 +01:00
amirsoroush
6087bc4e15 Fixed typo in docs/topics/class-based-views/mixins.txt. 2023-03-22 08:35:24 +01:00