summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-27Added test for serializing child model without inherited fields.Nadège Michel
2019-06-27Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model.Nadège Michel
2019-06-27Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.Mariusz Felisiak
2019-06-26Fixed #30578 - Made SelectDateWidget respect a custom date format when ↵Shubham Bhagat
USE_L10N is disabled.
2019-06-26Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() ↵nsasaki128
decorator.
2019-06-26Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't ↵Tom Forbes
have __file__ attribute.
2019-06-25Fixed typos in test comments.Tim Gates
2019-06-25Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the ↵can
target field.
2019-06-24Fixed #26431 -- Prevented django.urls.resolve() from returning missing ↵daniel a rios
optional parameters. Previous behavior was inconsistent with django.urls.reverse() and caused that translate_url() created an incorrect URL when an optional parameter was missing.
2019-06-24Refs #26431 -- Added tests for resolving URL and translate_url() with ↵daniel a rios
provided optional parameter.
2019-06-24Added tests for terminated path with optional arguments in ↵daniel a rios
django.urls.reverse().
2019-06-24Simplified handling of non-existent paths in autoreloader with ↵Tom Forbes
Path.resolve(strict=True).
2019-06-24Fixed typo in docs/topics/db/models.txt.Meysam
2019-06-24Fixed typo in docs/ref/models/indexes.txt.Alexey Opalev
2019-06-24Refs #30451 -- Added asgiref to the tests requirements.Mariusz Felisiak
2019-06-22Removed unneeded non-breaking spaces added in 00169bc36Claude Paroz
2019-06-21Bumped minimum ESLint version to 4.18.2.Markus Holtermann
2019-06-21Fixed #30421 -- Allowed symmetrical intermediate table for self-referential ↵Nadège Michel
ManyToManyField.
2019-06-21Fixed typo in BasicExpressionsTests.test_object_update_fk() test.Mariusz Felisiak
2019-06-21Fixed typos in 1.11.19, 2.0.11, 2.1.6 release notes.Jon Dufresne
2019-06-20Added missing form argument in modelform_factory() docstring.Tobias Kunze
2019-06-20Removed unnecessary backslashes from docs.Mariusz Felisiak
2019-06-20Refs #30451 -- Added more tests for ASGIRequest and ASGIHandler.Mariusz Felisiak
2019-06-20Fixed #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-20Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like ↵Chris Jerdonek
object.
2019-06-20Refs #30565 -- Doc'd HttpResponse.close() method.Chris Jerdonek
2019-06-20Fixed #30547 -- Doc'd how Meta.constraints affect model validation.Swat009
2019-06-19Refs #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-19Fixed #29834 -- Fixed column mismatch crash with ↵can
QuerySet.values()/values_list() and order_by() on combined querysets.
2019-06-19Fixed #30572 -- Prevented values()/values_list() on combined queryset from ↵Mariusz Felisiak
mutating the list of columns in querysets.
2019-06-19Fixed typos in signals and custom management commands docs.Hasan Ramezani
2019-06-18Fixed typos and example in signals.pre_init docs.Hasan Ramezani
2019-06-18Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+.Mariusz Felisiak
2019-06-17Fixed typos in FakePayload docstring and SimplifiedURLTests test name.Min ho Kim
2019-06-15Refs #30451 -- Added HttpRequest._set_content_type_params() hook.Mariusz Felisiak
2019-06-14Fixed #12952 -- Adjusted admin log change messages to use form labels ↵Sanyam Khurana
instead of field names.
2019-06-13Refs #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-13Fixed #30512 -- Used email.headerregistry.parser for parsing emails in ↵Joachim Jablon
sanitize_address().
2019-06-13Fixed an example of email with display name in EmailMessage.from_email.Joachim Jablon
2019-06-13Refs #29548 -- Doc'd MariaDB support for GIS database functions.Mariusz Felisiak
2019-06-13Fixed #30128 -- Fixed handling timedelta timezone in database functions.can
2019-06-12Simplified GISFunctionsTests.test_point_on_surface().Mariusz Felisiak
2019-06-12Simplified django.urls.reverse() a bit.Sergey Fedoseev
2019-06-12Added missing support for PointOnSurface function on MariaDB.Mariusz Felisiak
2019-06-12Removed obsolete comment from GISFunctionsTests.test_asgeojson().Mariusz Felisiak
2019-06-12Fixed GISFunctionsTests.test_asgeojson() crash on MariaDB 10.2+.Mariusz Felisiak
2019-06-11Fixed #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-11Fixed intword example in docs/ref/contrib/humanize.txt.Jon Dufresne
2019-06-11Refs #27486 -- Added tests for filesizeformat filter.Jon Dufresne
2019-06-11Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated ↵Vyacheslav Ver
example of custom aggregate functions.