Simon Charette
09397f5cfa
Used Query.is_sliced in SQLCompiler.as_sql().
2022-10-28 08:46:33 +02:00
Simon Kern
de2c2127b6
Fixed #34066 -- Fixed link to password reset view in UserChangeForm.password's help text when using to_field.
...
Co-Authored-By: David Sanders <shang.xiao.sanders@gmail.com>
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-10-27 09:23:34 +02:00
Mariusz Felisiak
d559cb02da
Refs #19215 -- Fixed admin_widgets tests if Pillow isn't installed.
...
Follow up to c0fc1b5302
.
2022-10-27 08:41:03 +02:00
Mariusz Felisiak
eb6cc01d0f
Refs #33173 -- Doc'd Python 3.11 compatibility in Django 4.1.x.
2022-10-26 20:10:33 +02:00
Tobias Bengfort
350455b666
Fixed #33606 -- Cleansed sessionid cookie in error reports.
...
Co-authored-by: Simon Charette <charette.s@gmail.com>
2022-10-26 14:39:58 +02:00
Marcelo Galigniana
b440493eaa
Completed test coverage for contrib.auth.forms.
2022-10-26 12:52:18 +02:00
Simon Willison
022a864a5d
Fixed #34109 -- Updated instructions for running with Uvicorn.
...
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
2022-10-26 11:51:15 +02:00
Mariusz Felisiak
e51c998f8d
Refs #33173 -- Added Python 3.11 to classifiers and tox.ini.
2022-10-26 10:25:07 +02:00
Mariusz Felisiak
2e82fa54ca
Refs #33173 -- Used Python 3.11 for GitHub actions.
2022-10-26 09:42:51 +02:00
Mariusz Felisiak
80777d30b3
Refs #33173 -- Fixed destroying test databases when running tests in parallel using spawn on Windows.
...
Thanks Simon Willison for inspiration.
2022-10-26 09:42:51 +02:00
Mariusz Felisiak
02940ebce1
Bumped gh-problem-matcher-wrap version to 1.0.2.
2022-10-26 08:18:47 +02:00
Mariusz Felisiak
6d41f5e5ed
Fixed DatabaseFeatures.supports_select_(intersection/difference) on MariaDB and MySQL 8.0.31+.
2022-10-25 20:01:25 +02:00
Marcelo Galigniana
c0fc1b5302
Fixed #19215 -- Fixed rendering ClearableFileInput when editing with invalid files.
...
Thanks Michael Cardillo for the initial patch.
2022-10-25 16:53:52 +02:00
Yuri Konotopov
64e5ef1f17
Fixed #29027 -- Fixed file_move_safe() crash when moving files with SELinux.
...
Thanks Florian Apolloner for the review.
2022-10-24 13:54:51 +02:00
Vlastimil Zíma
08c5a78726
Fixed #34098 -- Fixed loss of precision for Decimal values in floatformat filter.
...
Regression in 12f7928f5a
.
2022-10-24 12:59:34 +02:00
Marcelo Galigniana
1d6948096f
Fixed flaky test_ForeignKey_using_to_field test.
2022-10-24 11:54:00 +02:00
Smile
83cdcac355
Improved "rebase" example for upstream changes in working with Git docs.
2022-10-24 10:04:38 +02:00
Mariusz Felisiak
577dbcbb4f
Refs #34070 -- Fixed date format in Now() on SQLite.
...
Regression in 649b28eab6
.
2022-10-24 09:11:48 +02:00
Giebisch
3283120cca
Fixed #34111 -- Made test runner with --debug-sql format SQL queries.
2022-10-24 08:11:30 +02:00
Smile
5ec64fa481
Corrected curl call in working with Git docs.
2022-10-21 16:12:12 +01:00
Ryan Cheley
38936f6a0c
Fixed typo in docs/ref/models/querysets.txt.
2022-10-21 16:02:39 +01:00
HieuPham9720
3e928de8ad
Skipped scrypt tests when OpenSSL 1.1+ is not installed.
2022-10-20 18:50:48 -07:00
Diane DeMers Chen
a16132a9c4
Updated UTC uses to datetime.timezone.utc in docs.
2022-10-20 15:52:45 -07:00
Carlton Gibson
5c2c7277d4
Fixed #34085 -- Made management commands don't use black for non-Python files.
...
Bug in d113b5a837
.
Co-authored-by: programmylife <acmshar@gmail.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-10-20 13:38:31 -07:00
Simon Charette
d62563cbb1
Fixed #34105 -- Fixed crash of ordering by nested selected expression.
...
This stops ordering by nested selected references. It's not supported on
PostgreSQL and not required to support psycopg3.
Regression in 04518e310d
.
Thanks Matt Westcott for the report.
2022-10-18 17:31:45 -07:00
Collin Anderson
78470043ae
Fixed #34102 -- Limited wrapping long names to admin dashboard.
...
Regression in 15682cb003
.
2022-10-18 12:16:31 -07:00
Colm O'Connor
37c5b8c07b
Fixed #34093 -- Changed width/height of switch button icons to use rem units in admin.
2022-10-14 06:10:50 +02:00
Mariusz Felisiak
7c884afe5a
Refs #23919 -- Updated obsolete buffer() references to memoryview().
...
Obsolete since 8cdc84726e
.
2022-10-13 19:49:57 +02:00
Alan D. Snow
da2621c3df
Updated example of creating GEOSGeometry from WKB to use memoryview.
2022-10-13 13:21:49 +02:00
Marcelo Galigniana
2a2503c2c1
Completed test coverage for django.core.paginator.
2022-10-13 12:27:41 +02:00
Marcelo Galigniana
9101adc8ba
Removed unused branch in Paginator.validate_number().
...
Unused since 96cf3656c4
.
2022-10-13 12:11:39 +02:00
Sergio
94e7f471c4
Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18n patterns are used.
2022-10-13 10:38:26 +02:00
Mariusz Felisiak
004f985b91
Refs #34059 -- Doc'd lack of support for validation of constraints with JSONFields.
...
Thanks Dan LaManna for the report.
2022-10-12 11:50:13 +02:00
Rasmus Magnell
c4aac2ac1e
Fixed #34042 -- Improved accessibility of admin's navigation sidebar.
2022-10-12 10:21:17 +02:00
Paolo Melchiorre
7c9d0c31d5
Fixed #34086 -- Confirmed support for PostGIS 3.3.
2022-10-12 09:04:32 +02:00
Marcelo Galigniana
f30c7e381c
Completed test coverage for contenttypes models.
2022-10-11 05:38:39 +02:00
Mariusz Felisiak
da8fa76413
Fixed #34081 -- Reverted "Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template."
...
This reverts commit a69b0e9cfe
.
2022-10-10 13:43:10 +02:00
Adam Johnson
6402b064a9
Used test client headers in i18n tests.
2022-10-10 11:46:31 +02:00
Mariusz Felisiak
15682cb003
Fixed wrapping of long model names in the admin.
2022-10-10 11:17:02 +02:00
Sarah Boyce
84206607d6
Fixed #32833 -- Fixed ContentTypeManager.get_for_models() crash when using in migrations.
...
Co-authored-by: Heraldo Lucena <23155511+HMaker@users.noreply.github.com>
2022-10-10 08:57:52 +02:00
Ralph Reid
d3579ca112
Fixed #25996 -- Revised performance section in URLs topic docs.
2022-10-10 08:02:35 +02:00
Gregor Gärtner
f0c06f8ab7
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
...
Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-08 08:07:38 +02:00
Mariusz Felisiak
d795259ea9
Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.
...
Follow up to 3f7b327562
.
2022-10-07 13:05:35 +02:00
Gregor Gärtner
564b317fb5
Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to assertFormSetError().
...
Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-07 11:22:16 +02:00
J.V. Zammit
fa9ac16c13
Fixed #33797 -- Prioritized cached database backend for cached sessions in docs.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
2022-10-07 09:39:35 +02:00
Mariusz Felisiak
749cd83e13
Removed hardcoded pks in TestQuerying.test_group_by_order_by_aliases test.
2022-10-07 08:26:41 +02:00
Mariusz Felisiak
abc5ca6ab4
Bumped versions in pre-commit and npm configurations.
2022-10-07 08:18:04 +02:00
Shubh1815
7a39a691e1
Fixed #32603 -- Made ModelAdmin.list_editable use transactions.
2022-10-06 20:44:07 +02:00
Simon Charette
c6350d594c
Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().
...
Recent refactors allowed GROUP BY aliasing allowed for aliasing to be
entirely handled by the sql.Query.set_group_by and compiler layers.
2022-10-06 12:04:00 +02:00
Simon Charette
b7b28c7c18
Refs #31150 -- Enabled implicit GROUP BY aliases.
...
This ensures implicit grouping from aggregate function annotations
groups by uncollapsed selected aliases if supported.
The feature is disabled on Oracle because it doesn't support it.
2022-10-06 11:51:32 +02:00