1
0
mirror of https://github.com/django/django.git synced 2025-03-05 15:02:31 +00:00

31493 Commits

Author SHA1 Message Date
Marti Raudsepp
32268456d6 Fixed -- Prevented FileBasedCache.has_key() crash caused by a race condition. 2022-12-13 19:29:15 +01:00
Nimra Aftab
1d0fa848e0 Fixed -- Improved color contrast for links in admin. 2022-12-13 08:40:14 +01:00
Jarek Pacocha
4cc900bcbf
Made urls.py docstring consistent with other files in project template. 2022-12-13 05:28:55 +01:00
Florian Apolloner
db7bb3b64e Refs -- Added DatabaseOperations.compose_sql() on PostgreSQL. 2022-12-12 10:36:45 +01:00
Florian Apolloner
1d90c9b113 Refs -- Added psycopg_any.IsolationLevel. 2022-12-12 10:36:42 +01:00
Florian Apolloner
2f38f7b8f9 Refs -- Added psycopg_any.sql.quote() hook. 2022-12-12 10:35:38 +01:00
Florian Apolloner
2ebfbd894e Refs -- Moved psycopg2 imports to the psycopg_any module. 2022-12-12 08:36:17 +01:00
James Gillard
c5ed884eab Fixed -- Fixed Meta.constraints validation crash with ArrayField and __len lookup.
Regression in 88fc9e2826044110b7b22577a227f122fe9c1fb5 that began
manifesting in Django 4.1.
2022-12-10 17:46:13 +01:00
SirAbhi13
b8738aea14 Fixed -- Deprecated passing positional arguments to Signer/TimestampSigner.
Thanks Jacob Walls for the implementation idea.
2022-12-09 12:44:48 +01:00
Mariusz Felisiak
3fec3bf90b
Bumped versions in pre-commit and npm configurations. 2022-12-09 10:20:47 +01:00
Mariusz Felisiak
9da2210f12
Avoided direct mocking of psycopg2.__version__ in test_correct_extraction_psycopg2_version(). 2022-12-08 14:31:35 +01:00
Mariusz Felisiak
cbc0fb3705
Made inspectdb used Cursor.description.display_size for CharFields' max_length.
internal_size is size for fixed-size types not for char types.
2022-12-08 09:00:35 +01:00
Mariusz Felisiak
95a101a690
Fixed -- Bumped minimum supported SQLite to 3.21.0. 2022-12-08 05:53:18 +01:00
Sylvain Fankhauser
0036bcdcb6
Fixed -- Improved ModelAdmin.get_urls example. 2022-12-07 11:23:13 +01:00
James Bligh
e44d348c99
Fixed -- Added ES module support to ManifestStaticFilesStorage.
Co-authored-by: James Bligh <james.bligh@silvercloudhealth.com>
2022-12-07 10:56:00 +01:00
David Smith
9ac97e7eb5
Refs -- Updated Form API docs to prefer as_div() output style. 2022-12-07 10:49:45 +01:00
Florian Apolloner
d8c8761901 Used homogeneous weights list in SearchRank tests.
A homogenous array is required on PostgreSQL.
2022-12-06 12:52:56 +01:00
Daniele Varrazzo
c14e5c64c9 Fixed typo in tests/postgres_tests/test_signals.py comment. 2022-12-06 12:52:56 +01:00
Florian Apolloner
6a21658163 Refs -- Modernized database wrapper in the PostgreSQL backend.
- Used connection.info instead of connection.get_parameter_status() and
  connection.server_info which don't exist in psycopg 3.
- Set encoding using the client_encoding connection parameter instead
  of connection.set_client_encoding() that doesn't exist in psycopg 3.
- Used the dbname connection parameter instead of deprecated
  alias - database.
2022-12-06 12:48:16 +01:00
Mariusz Felisiak
29b6a177d8
Fixed AdminViewDeletedObjectsTest.test_cyclic failure when using --keepdb.
This changes to hardcoded pks when hardcoded fks are used.
2022-12-06 11:14:32 +01:00
Carlton Gibson
845a5db38f Added stub release notes for 4.1.5. 2022-12-06 10:20:27 +01:00
Carlton Gibson
f4a053a294 Added release date for 4.1.4. 2022-12-06 09:56:43 +01:00
Pablo
e673c87b56 Fixed -- Skipped some postgres_tests.test_search tests when pg_catalog isn't English. 2022-12-06 08:26:43 +01:00
Ryan Cheley
68bd8f4cb4 Fixed -- Corrected QuerySet.only() docs about interaction with defer(). 2022-12-06 08:24:26 +01:00
Mariusz Felisiak
514884e9a5
Updated various links to HTTPS and new locations. 2022-12-06 05:59:43 +01:00
Alex Vandiver
cbce427c17 Fixed -- Added django.utils.http.content_disposition_header(). 2022-12-05 13:08:00 +01:00
Mariusz Felisiak
3d3e955efa
Removed redundant definition of DatabaseFeatures.can_release_savepoints on MySQL. 2022-12-05 12:08:21 +01:00
Pablo
48531f53ae Improved test coverage for django.db.transaction. 2022-12-05 10:46:33 +01:00
sdolemelipone
344593893b Fixed -- Added example to StringAgg docs. 2022-12-05 05:19:23 +01:00
sdolemelipone
0abd8f1cb8 Fixed typo in docs/ref/contrib/postgres/aggregates.txt. 2022-12-05 05:06:32 +01:00
Simon Charette
eccda63a49 Improved isolation of TestGeneralAggregate.test_default_argument(). 2022-12-02 13:58:46 +01:00
Florian Apolloner
3e3b7f691b Refs -- Avoided passing None to RawSQL's params.
Passing None to params causes errors in determining the data type on
psycopg3.
2022-12-02 10:56:09 +01:00
Florian Apolloner
2fecf99ade Refs -- Made PostGISAdapter do not use psycopg2's Binary(). 2022-12-02 09:46:57 +01:00
Simon Charette
0ff46591ac Refs -- Deprecated support for passing encoded JSON string literals to JSONField & co.
JSON should be provided as literal Python objects an not in their
encoded string literal forms.
2022-12-01 19:14:00 +01:00
Daniele Varrazzo
d3e746ace5 Refs -- Added get_type_oids() hook and simplified registering type handlers on PostgreSQL. 2022-12-01 11:05:57 +01:00
Florian Apolloner
149b55fefa Refs -- Ensured type handlers are registered for all PostgreSQL specific tests.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-12-01 09:39:46 +01:00
Florian Apolloner
3cafb783f3 Refs -- Used psycopg's errors instead of errorcodes. 2022-12-01 09:17:33 +01:00
SwastikTripathi
e20fd899be Refs -- Changed more properties to use rem units in admin CSS. 2022-11-30 13:41:35 +01:00
Mariusz Felisiak
e8dcef155c
Refs , Refs -- Added release note for resolving output_field changes. 2022-11-30 08:22:10 +01:00
Simon Charette
0db8bf3d60 Refs -- Fixed aggregates crash when passing strings as defaults.
Previously strings were interpreted as F() expressions and default
crashed with AttributeError:
    'F' object has no attribute 'empty_result_set_value'
2022-11-29 13:08:05 +01:00
Giebisch
85b52d22fd Fixed -- Added fine-grained error locations to the technical 500 debug page. 2022-11-29 08:40:11 +01:00
sdolemelipone
9d726c7902 Fixed -- Made UserCreationForm save many-to-many fields. 2022-11-29 05:56:53 +01:00
Mariusz Felisiak
60a7bd8986
Refs -- Skipped test_callable_default_hidden_widget_value_not_overridden when JSONField is not supported. 2022-11-28 09:47:52 +01:00
Mariusz Felisiak
20d575b101
Refs -- Skipped test_get_test_db_clone_settings_not_supported on not in-memory SQLite database.
multiprocessing's start method is checked only for in-memory SQLite
databases.
2022-11-28 09:30:22 +01:00
Mariusz Felisiak
662497cece
Doc's check_password()'s setter and preferred arguments.
Follow up to 90e05aaeac612a4251640564aa65f103ac635e12.
2022-11-28 08:13:51 +01:00
David Sanders
64b3c413da Fixed -- Fixed logging SQL queries with duplicate parameters on Oracle. 2022-11-25 09:42:25 +01:00
Giebisch
80c66e40f7 Fixed -- Added exception notes to the technical 500 debug page. 2022-11-25 08:16:10 +01:00
Christophe Baldy
70c945d6b3
Used DatabaseFeatures.django_test_skips to skip AssertNumQueriesUponConnectionTests tests. 2022-11-24 19:41:08 +01:00
SirAbhi13
17472c3304 Fixed -- Skipped saving sessions on 5xx responses. 2022-11-24 15:46:41 +01:00
Riccardo Magliocchetti
df2db8b4a5
Adjusted BaseFormSet.get_form_kwargs example in docs. 2022-11-24 15:16:31 +01:00