1
0
mirror of https://github.com/django/django.git synced 2025-04-13 12:02:20 +00:00

31547 Commits

Author SHA1 Message Date
nabil-rady
32d4b61c31 Fixed -- Added integer fields validation as 64-bit on SQLite. 2023-03-08 11:52:57 +01:00
David Wobrock
2396933ca9 Fixed -- Fixed session validation when rotation secret keys.
Bug in 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7.

Thanks Eric Zarowny for the report.
2023-03-08 10:48:04 +01:00
Carlton Gibson
9b22457987
Refs -- Used asgiref coroutine shim in async signals tests.
Bug in e83a88566a71a2353cebc35992c110be0f8628af.
2023-03-08 09:53:25 +01:00
Carlton Gibson
279e611c01
Refs -- Noted that Daphne provides a runserver command. 2023-03-07 19:47:55 +01:00
Jon Janzen
e846c5e724 Fixed -- Made AuthenticationMiddleware add request.auser(). 2023-03-07 13:11:22 +01:00
Jon Janzen
e83a88566a Fixed -- Adapted signals to allow async handlers.
co-authored-by: kozzztik <kozzztik@mail.ru>
co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-03-07 08:39:25 +01:00
Mariusz Felisiak
9a07999aef Added stub release notes for 4.1.8. 2023-03-06 17:31:26 +01:00
David Smith
507bc13648 Refs -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper() on Windows. 2023-03-06 13:40:35 +01:00
Dmitriy Sintsov
c914d6cff1 Fixed -- Made SMTP backend load default system root CA certificates by default.
Regression in 2848e5d0ce5cf3c31fe87525536093b21d570f69.
2023-03-06 08:08:16 +01:00
David Smith
b05dfc2894
Refs , Refs -- Fixed postgres_tests.test_aggregates.TestGeneralAggretate.test_empty_result_set() on PostgreSQL 14+.
Follow up to 0be8095b254fad65b2480d677ebe6098c41bbad6.
2023-03-05 19:06:21 +01:00
Ivan Sagalaev
a4205076a5
Fixed typo in docs/releases/5.0.txt. 2023-03-05 14:01:19 +01:00
Mariusz Felisiak
2660bc19f3
Refs -- Fixed facet filter tests on Oracle.
Follow up to 868e2fcddae6720d5713924a785339d1665f1bb9.
2023-03-05 13:19:09 +01:00
Mariusz Felisiak
61f599aeb9
Refs -- Fixed isolation of MigrateTests.test_migrate_fake_initial(). 2023-03-04 13:09:38 +01:00
sarahboyce
868e2fcdda Fixed -- Added toggleable facet filters to ModelAdmin.
Thanks Carlton Gibson, Simon Willison, David Smith, and Mariusz
Felisiak for reviews.
2023-03-03 20:24:57 +01:00
sarahboyce
50ca4defcb Added test for preserving popup by reset link in the admin changelist. 2023-03-03 10:18:15 +01:00
Mariusz Felisiak
52e54860bf
Moved duplicate user declarations to setUpTestData() in AdminSiteFinalCatchAllPatternTests. 2023-03-03 10:08:06 +01:00
Dominique Bischof
17e08b2177 Fixed -- Fixed preserving query strings in AdminSite.catch_all_view().
Included full path when redirecting with append slash to include query
strings.

Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
2023-03-03 08:18:54 +01:00
Dominique Bischof
4338b6526d Refs -- Added more tests for preserving query strings when redirect with APPEND_SLASH in admin. 2023-03-03 08:18:54 +01:00
Ekaterina Vahrusheva
55bcbd8d17 Fixed -- Made QuerySet.in_bulk() not clear odering when id_list is passed.
This reverts 340eaded4e30cf25bcd4e9781d33a617fe9c0f84.
2023-03-03 06:00:10 +01:00
Heath Henley
56e5ea805b
Fixed -- Fixed GIS tests on Windows. 2023-03-02 19:14:24 +01:00
sarahboyce
4cb5573352 Moved str() calls to DateFieldListFilter.choices(). 2023-03-02 13:25:23 +01:00
Mariusz Felisiak
9953c804a9
Refs -- Stopped recreating check constraints when renaming fields.
This also fixes test_rename_field_with_check_to_truncated_name() on
MariaDB 10.5.2+ as ALTER TABLE ... RENAME COLUMN statement doesn't
rename inline constraints.
2023-03-02 06:05:40 +01:00
Adam Johnson
ef00d6ef88 Doc'd that django.setup() is called under ASGI. 2023-03-01 14:32:31 +01:00
Heath Henley
54aecf95a2 Fixed -- Updated instructions for installing GeoDjango on Windows.
Thanks David Smith for the review.
2023-03-01 13:45:02 +01:00
Mariusz Felisiak
5933d7033d Ignored 14459f80ee3a9e005989db37c26fd13bb6d2fab2 formatting changes in git blame. 2023-03-01 13:33:23 +01:00
django-bot
14459f80ee Fixed -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:03:56 +01:00
Mariusz Felisiak
6015bab80e Refs -- Added configurations to run blacken-docs linter and adjusted docs.
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.

Co-authored-by: David Smith <smithdc@gmail.com>
2023-03-01 13:02:57 +01:00
Mariusz Felisiak
9cf2a5df70 Refs -- Made minor edits to rst code-blocks. 2023-03-01 13:02:54 +01:00
Mariusz Felisiak
498bff9499 Ignored ba755ca13123d2691a0926ddb64e5d0a2906a880 formatting changes in git blame. 2023-02-28 12:56:19 +01:00
Joseph Victor Zammit
ba755ca131 Refs -- Corrected rst code-block and various formatting issues in docs. 2023-02-28 12:21:37 +01:00
Simon Charette
c67ea79aa9 Fixed -- Made subquery raise NotSupportedError when referencing outer window expression.
Regression in f387d024fc75569d2a4a338bfda76cc2f328f627.

Co-authored-by: Jannis Vajen <jvajen@gmail.com>
2023-02-27 07:18:58 +01:00
Simon Charette
b15f162f25
Fixed -- Fixed queryset crash on order by aggregation using OrderBy.
Regression in 278881e37619278789942513916acafaa88d26f3 caused by a lack
of expression copying when an OrderBy expression is explicitly provided.

Thanks Jannis Vajen for the report and regression test.
2023-02-27 07:10:19 +01:00
Laurent Tramoy
2276ec8c21 Fixed -- Reduced AlterField operations when optimizing migrations. 2023-02-24 13:59:42 +01:00
Adam Johnson
f9fe062de5 Doc'd that Meta.indexes is preferred to Field.db_index. 2023-02-24 09:08:59 +01:00
Mariusz Felisiak
2c428b37ae
Refs -- Fixed isolation of constraints tests.
Regression in 5b3d3e400ab9334ba429ca360c9818c6dfc3a51b.
2023-02-24 09:02:45 +01:00
Tim Graham
40e88ae8c8
Refs -- Added skipIf for a test requiring check constraints. 2023-02-24 06:00:00 +01:00
Mariusz Felisiak
16c966ff7f
Refs , Refs -- Made SchemaEditor not generate SQL for CheckConstraint if not supported.
The new logic mirrors the logic in SchemaEditor._delete_check_sql()
added in 68ef274bc505cd44f305c03cbf84cf08826200a8.

Thanks Tim Graham for the report.
2023-02-23 21:12:17 +01:00
Xavier Fernandez
5b3d3e400a Fixed -- Allowed customizing code of ValidationError in BaseConstraint and subclasses. 2023-02-23 10:58:20 +01:00
Xavier Fernandez
51c9bb7cd1 Refs -- Added violation_error_message to constraints' __repr__(). 2023-02-23 05:35:58 +01:00
Panagiotis H.M. Issaris
dcd9746983
Fixed -- Fixed floatformat crash on zero with trailing zeros.
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124.
Follow up to 4b066bde692078b194709d517b27e55defae787c.
2023-02-22 20:46:16 +01:00
Xavier Fernandez
ad18a0102c Fixed -- Deprecated passing positional arguments to BaseConstraint. 2023-02-22 09:37:58 +01:00
Tim Graham
31cd2852cb
Moved DatabaseIntrospection.get_table_description() internal_size release note to "Database backend API" section. 2023-02-22 05:17:02 +01:00
Mariusz Felisiak
96bc4254ee
Refs -- Added test for nesting QuerySet.union().
This was fixed in MySQL 8.0.31.
2023-02-21 12:47:52 +01:00
David Buhler
a91e59e4a0 Fixed -- Allowed PostGIS DatabaseWrapper subclasses to customize (features/introspection/ops)_class classes. 2023-02-21 08:52:23 +01:00
Mariusz Felisiak
5afd8c6940
Refs -- Added test for not initializing PostGIS-specific stuff for non-db connections. 2023-02-21 08:42:28 +01:00
Laurens Verhoeven
6cbc403b8e Fixed -- Fixed FormSet.empty_form crash when deleting extra forms is disabled. 2023-02-20 09:04:29 +01:00
Simon Charette
278881e376 Fixed -- Ordered selected expressions by position.
Used the same approach as for  by using selected expressions
position to prevent ambiguous aliases in collisions.

Thanks henribru for the report.

Regression in 04518e310d4552ff7595a34f5a7f93487d78a406.
2023-02-20 05:54:25 +01:00
Simon Charette
f91e085c30 Refs -- Adjusted group by position variables naming to follow SQL spec.
This avoids conceptual collisions with the notion of indices.
2023-02-18 18:42:49 -05:00
Simon Charette
a6511bc233 Refs -- Added tests for queryset ordered by annotation with nulls_first/nulls_last. 2023-02-18 16:28:10 +01:00
syre
eafe1468d2 Fixed -- Added __all__ to django.contrib.gis.utils. 2023-02-17 21:06:41 +01:00