Victor Moura
1628b35b58
Fixed #31385 -- Improved wording in tutorial 1.
2020-03-24 06:30:34 +01:00
Tim Graham
291539a85c
Removed obsolete references to South database migrations.
2020-03-23 11:55:58 +01:00
Hannes Ljungberg
0b51a4f894
Fixed #28194 -- Added support for normalization and cover density to SearchRank.
2020-03-23 11:00:55 +01:00
Adam Johnson
4ed534758c
Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context.
2020-03-23 08:11:14 +01:00
Jon Dufresne
f982f0bdb8
Refs #31032 -- Removed unsupported browsers workarounds and comments in admin's JavaScript.
...
Since 8b30360322
, the admin documentation
is explicit that only modern evergreen browsers are supported. This
allows removing several long standing workarounds for IE and Opera older
versions.
Since 2013, Opera is based on the Chromium blink engine.
2020-03-23 06:19:10 +01:00
Tim Graham
e21788121b
Added missing Meta.apps to a schema model.
2020-03-23 06:09:10 +01:00
Adam Johnson
ffde4d5da8
Normalized check framework test pattern.
2020-03-21 20:14:02 +01:00
Mariusz Felisiak
2117b7c12e
Updated settings example in overriding templates docs.
...
Follow up to ba4389a36b
.
2020-03-21 20:02:57 +01:00
Hasan Ramezani
53b6a466d8
Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().
...
Thanks Simon Charette for the review and Mariusz Felisiak for tests.
2020-03-20 12:55:33 +01:00
Rohit
2695ac8e04
Fixed #31144 -- Relaxed system check for max_length of CharFields on MySQL/MariaDB by turning into a warning.
2020-03-20 12:28:10 +01:00
Jon Dufresne
c1c361677d
Made BaseCacheTests skip culling tests if culling is not supported.
2020-03-19 15:34:16 +01:00
Jon Dufresne
013147fae2
Fixed #31285 -- Fixed inherited Meta.ordering of "-pk".
2020-03-19 12:57:07 +01:00
gowthamk63
142ab6846a
Fixed #31123 -- Added --include-stale-apps option to the remove_stale_contenttypes management command.
...
Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com>
2020-03-19 11:48:10 +01:00
Jon Dufresne
13993e0f38
Removed unused default value None to matches_patterns().
...
An iterable is always passed.
2020-03-19 11:06:33 +01:00
Jon Dufresne
6b61b8b904
Used modern idiom in collectstatic command.
...
Replaced set(<generator expression>) with set comprehension.
2020-03-19 11:04:33 +01:00
Mariusz Felisiak
6e026aec5f
Refs #29548 -- Mentioned MariaDB in database system checks.
2020-03-19 09:42:04 +01:00
Andrew Godwin
fc0fa72ff4
Fixed #31224 -- Added support for asynchronous views and middleware.
...
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.
2020-03-18 19:59:12 +01:00
Mariusz Felisiak
3f7e4b16bf
Removed redundant get_max_column_name_length() calls in invalid_models_tests.test_models.FieldNamesTests.
2020-03-18 18:41:40 +01:00
Mariusz Felisiak
5c8441a0b8
Refs #31055 -- Made long column names checks support databases aware.
2020-03-18 18:41:40 +01:00
Adam Johnson
ba4389a36b
Simplified settings' BASE_DIR definition with pathlib.Path.parent.
2020-03-18 13:00:32 +01:00
Hasan Ramezani
6929f13254
Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
2020-03-18 09:37:05 +01:00
Ryan Petrello
5f8495a40a
Fixed #31371 -- Increased User.first_name max_length to 150 characters.
2020-03-18 08:22:49 +01:00
Simon Charette
9f07f27124
Fixed #31376 -- Optimized nulls ordering when possible on SQLite and MySQL.
...
Both backends order NULLs first on ascending ordering and last on
descending ordering which makes ORDER BY IS (NOT)? NULL wasteful when
asc(nulls_first) and desc(nulls_last) are used since it prevents indice
usage.
2020-03-18 06:43:49 +01:00
Carlton Gibson
f622b49010
Fixed typo in docs/topics/async.txt.
2020-03-17 20:57:02 +01:00
Jon Dufresne
dcee3292ce
Removed bundled QUnit in favor of npm package.
2020-03-17 15:43:59 +01:00
Jon Dufresne
48d50dd53f
Removed event handlers after JavaScript tests complete.
...
Fixes error "Assertion occurred after test had finished" with newer
versions of QUnit.
2020-03-17 15:43:59 +01:00
Jon Dufresne
25d450c852
Removed unused return values in SelectFilter2.js.
2020-03-17 13:52:29 +01:00
Jon Dufresne
9cf4e40b84
Simplified SelectFilter2 with Element.closest().
...
https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
2020-03-17 12:04:14 +01:00
Jon Dufresne
99cefea360
Upgraded grunt-contrib-qunit to use puppeteer.
2020-03-17 12:04:14 +01:00
Ben Li-Sauerwine
fc84848cd9
Made logging config examples more accessible.
...
- Show an initial example configuring the root logger to output to the console.
- Then add more logging from the `django` named logger.
- Then show the file and more complex examples.
Adjusted surrounding text for reading flow.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-03-17 11:51:05 +01:00
Hasan Ramezani
0538da08c5
Fixed #31172 -- Added note to translators for yesno filter.
2020-03-17 11:38:49 +01:00
Philipp Bosch
f75af5b67b
Corrected outdated sentence in One-to-one relationships docs.
2020-03-17 10:49:37 +01:00
Baptiste Mispelon
3baf92cf82
Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.
2020-03-16 10:27:23 +01:00
jay20162016
924c01ba09
Fixed #31363 -- Added support for negative integers to intword template filter.
2020-03-16 08:44:43 +01:00
Jon Dufresne
3857a08bdb
Fixed #31361 -- Fixed invalid action="" in admin forms.
...
The attribute action="" (empty string) on the <form> element is invalid
HTML5. The spec (https://html.spec.whatwg.org/#attr-fs-action ) says:
> The action and formaction content attributes, if specified, must have
> a value that is a valid non-empty URL potentially surrounded by
> spaces.
Emphasis on non-empty. The action attribute is allowed to be omitted, in
which case the current URL is used which is the same behavior as now.
2020-03-16 07:31:19 +01:00
Jon Dufresne
b7093860df
Added novalidate HTML attribute to ModelAdmin.add_view() and change_view() tests.
2020-03-16 06:36:45 +01:00
Jon Dufresne
38e2fdf1b0
Bumped minimum ESLint version to 6.8.0.
2020-03-16 06:20:22 +01:00
David Smith
7075d27b0c
Fixed #31362 -- Removed nonexistent choices attribute from MultipleHiddenInput's docs.
...
Follow up to 65c13f9675
.
2020-03-14 20:21:04 +01:00
Hasan Ramezani
a0916d7212
Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
...
Regression in df41b5a05d
.
2020-03-14 20:08:53 +01:00
Mariusz Felisiak
e2417010da
Refs #31304 -- Added tests for using __search lookup with combined SearchQuerys with the same config.
2020-03-13 12:06:28 +01:00
Baptiste Mispelon
dd704c6705
Refs #31340 -- Simplified SearchQuery by making it subclass Func.
2020-03-13 11:38:43 +01:00
Baptiste Mispelon
b62c58d5fc
Removed unnecessary SearchQuery._combine().
...
Unnecessary since its introduction in 2d877da855
.
2020-03-13 11:22:51 +01:00
Andrew Godwin
40a64dd1e2
Refs #31224 -- Doc'd async adapter functions.
2020-03-13 07:13:44 +01:00
Mariusz Felisiak
8725d04764
Fixed random auth_tests.test_tokens.TokenGeneratorTest.test_timeout failures.
...
Random failures depended on the current timestamp.
Thanks Matthijs Kooijman for the review.
2020-03-12 10:56:38 +01:00
David Smith
ccf32aca44
Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a error message key.
2020-03-12 09:36:01 +01:00
Mariusz Felisiak
7d8cdad6b7
Fixed MiddlewareNotUsedTests.test_do_not_log_when_debug_is_false().
...
This test didn't test anything without a middleware that raises an
exception.
2020-03-12 07:37:14 +01:00
Mariusz Felisiak
35c7fe8334
Completed test coverage for BaseHandler.process_exception_by_middleware().
2020-03-12 07:37:14 +01:00
Mariusz Felisiak
3c35825009
Fixed typo in django/utils/crypto.py.
2020-03-11 14:38:27 +01:00
Claude Paroz
e663f695fb
Fixed #31359 -- Deprecated get_random_string() calls without an explicit length.
2020-03-11 13:16:44 +01:00
David Smith
5cc2c63f90
Fixed typo in tests/forms_tests/widget_tests/test_clearablefileinput.py docstring.
2020-03-11 08:50:51 +01:00