| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-06-20 | Added missing form argument in modelform_factory() docstring. | Tobias Kunze | |
| 2019-06-20 | Removed unnecessary backslashes from docs. | Mariusz Felisiak | |
| 2019-06-20 | Refs #30451 -- Added more tests for ASGIRequest and ASGIHandler. | Mariusz Felisiak | |
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2019-06-20 | Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like ↵ | Chris Jerdonek | |
| object. | |||
| 2019-06-20 | Refs #30565 -- Doc'd HttpResponse.close() method. | Chris Jerdonek | |
| 2019-06-20 | Fixed #30547 -- Doc'd how Meta.constraints affect model validation. | Swat009 | |
| 2019-06-19 | Refs #30485 -- Removed non-representative test that emitted a warning. | Jon Dufresne | |
| Previously, when running the Django test suite with warnings enabled, the following was emitted: /usr/lib64/python3.7/urllib/parse.py:915: BytesWarning: str() on a bytearray instance v = quote_via(str(v), safe, encoding, errors) This occurred due to the bytearray() being passed to urllib.parse.urlencode() which eventually calls str() on it. The test does not represent desired real world behavior. Rather than test for and assert strange unspecified behavior that emits a warning, remove it. This was also discussed in PR #11374. | |||
| 2019-06-19 | Fixed #29834 -- Fixed column mismatch crash with ↵ | can | |
| QuerySet.values()/values_list() and order_by() on combined querysets. | |||
| 2019-06-19 | Fixed #30572 -- Prevented values()/values_list() on combined queryset from ↵ | Mariusz Felisiak | |
| mutating the list of columns in querysets. | |||
| 2019-06-19 | Fixed typos in signals and custom management commands docs. | Hasan Ramezani | |
| 2019-06-18 | Fixed typos and example in signals.pre_init docs. | Hasan Ramezani | |
| 2019-06-18 | Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+. | Mariusz Felisiak | |
| 2019-06-17 | Fixed typos in FakePayload docstring and SimplifiedURLTests test name. | Min ho Kim | |
| 2019-06-15 | Refs #30451 -- Added HttpRequest._set_content_type_params() hook. | Mariusz Felisiak | |
| 2019-06-14 | Fixed #12952 -- Adjusted admin log change messages to use form labels ↵ | Sanyam Khurana | |
| instead of field names. | |||
| 2019-06-13 | Refs #30512, #15042 -- Added local-only address to sanitize_email() tests cases. | Carlton Gibson | |
| email.headerregistry.parser.get_mailbox() returns a token with a `token_type` attribute. If `token_type` is `’invalid-mailbox’` then RFC violations have been detected. Emails with only the local part, and no domain, are correctly parsed but are marked as `’invalid-mailbox’`. As per #15042, local-only are supported, to enable sending to addresses on localhost. sanitize_email() does not currently check `token_type`. This test is added to avoid a regression in case this is revisited in the future. | |||
| 2019-06-13 | Fixed #30512 -- Used email.headerregistry.parser for parsing emails in ↵ | Joachim Jablon | |
| sanitize_address(). | |||
| 2019-06-13 | Fixed an example of email with display name in EmailMessage.from_email. | Joachim Jablon | |
| 2019-06-13 | Refs #29548 -- Doc'd MariaDB support for GIS database functions. | Mariusz Felisiak | |
| 2019-06-13 | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | |
| 2019-06-12 | Simplified GISFunctionsTests.test_point_on_surface(). | Mariusz Felisiak | |
| 2019-06-12 | Simplified django.urls.reverse() a bit. | Sergey Fedoseev | |
| 2019-06-12 | Added missing support for PointOnSurface function on MariaDB. | Mariusz Felisiak | |
| 2019-06-12 | Removed obsolete comment from GISFunctionsTests.test_asgeojson(). | Mariusz Felisiak | |
| 2019-06-12 | Fixed GISFunctionsTests.test_asgeojson() crash on MariaDB 10.2+. | Mariusz Felisiak | |
| 2019-06-11 | Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and ↵ | Jon Dufresne | |
| filesizeformat filters. intword and filesizeformat passed floats to ngettext() which is deprecated in Python 3.7. The rationale for this warning is documented in BPO-28692: https://bugs.python.org/issue28692. For filesizeformat, the filesize value is expected to be an int -- it fills %d string formatting placeholders. It was likely coerced to a float to ensure floating point division on Python 2. Python 3 always does floating point division, so coerce to an int instead of a float to fix the warning. For intword, the number may contain a decimal component. In English, a decimal component makes the noun plural. A helper function, round_away_from_one(), was added to convert the float to an integer that is appropriate for ngettext(). | |||
| 2019-06-11 | Fixed intword example in docs/ref/contrib/humanize.txt. | Jon Dufresne | |
| 2019-06-11 | Refs #27486 -- Added tests for filesizeformat filter. | Jon Dufresne | |
| 2019-06-11 | Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated ↵ | Vyacheslav Ver | |
| example of custom aggregate functions. | |||
| 2019-06-11 | Changed charset and collation link to MySQL docs. | Mykola Nicholas | |
| 2019-06-10 | Fixed #30548 -- Improved exception when expression contains mixed types. | CruxBox | |
| 2019-06-10 | Fixed #30553 -- Clarified the default value of disable_existing_loggers. | swatantra | |
| 2019-06-10 | Fixed #30556 -- Avoided useless query and hasher call in ↵ | Aymeric Augustin | |
| ModelBackend.authenticate() when credentials aren't provided. There's no need to fetch a user instance from the database unless a username and a password are provided as credentials. | |||
| 2019-06-10 | Refs #27804 -- Used subTest() in filesizeformat tests and HumanizeTests. | Jon Dufresne | |
| 2019-06-07 | Fixed #29379 -- Added autocomplete attribute to contrib.auth.forms fields. | Hasan Ramezani | |
| Thank you to Nick Pope for review. Co-authored-by: CHI Cheng <cloudream@gmail.com> | |||
| 2019-06-07 | Fixed #30521 -- Fixed invalid HTML in default error pages. | Alexandre Varas | |
| 2019-06-07 | Refs #30521 -- Added tests for content of default error pages. | Mariusz Felisiak | |
| 2019-06-07 | Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in response.json(). | Jon Dufresne | |
| 2019-06-07 | Refs #27804 -- Used subTest() in BinaryFieldTests.test_set_and_retrieve. | Jon Dufresne | |
| 2019-06-06 | Refs #30512 -- Added tests for sanitizing email addresses with display name ↵ | Joachim Jablon | |
| and two @ signs. | |||
| 2019-06-06 | Refs #30512 -- Used subTest() in MailTests.test_sanitize_address. | Joachim Jablon | |
| 2019-06-06 | Fixed #29706 -- Made RenameContentType._rename() save to the correct database. | Hasan Ramezani | |
| 2019-06-06 | Updated Hindi language name. | Arpana Mehta | |
| 2019-06-05 | Refs #30226 -- Added User.get_user_permissions() method. | Tobias Bengfort | |
| Added to mirror the existing User.get_group_permissions(). | |||
| 2019-06-05 | Fixed #30226 -- Added BaseBackend for authentication. | Tobias Bengfort | |
| 2019-06-05 | Fixed #30542 -- Fixed crash of numerical aggregations with filter. | Étienne Beaulé | |
| Filters in annotations crashed when used with numerical-type aggregations (i.e. Avg, StdDev, and Variance). This was caused as the source expressions no not necessarily have an output_field (such as the filter field), which lead to an AttributeError: 'WhereNode' object has no attribute output_field. Thanks to Chuan-Zheng Lee for the report. Regression in c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following commits. | |||
| 2019-06-05 | Added stub release notes for 2.2.3. | Mariusz Felisiak | |
| 2019-06-04 | Fixed typo in tests/generic_views/test_base.py. | Tim Graham | |
| 2019-06-04 | Updated release process notes for oss-security list content guidelines. | Carlton Gibson | |
| c.f. https://oss-security.openwall.org/wiki/mailing-lists/oss-security#list-content-guidelines | |||
