summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-23Fixed #29810 -- Fixed crash of select_related() on FilteredRelation with ↵can
empty result.
2019-04-23Fixed #30365 -- Fixed syntax highlighting in SQL examples.Daniel Musketa
Sphinx interprets some "%[a-z]" in SQL statements as a "Literal.String.Interpol" which leads to incorrect highlighting.
2019-04-23Fixed #30387 -- Enhanced docs CLI examples in Unit tests and Install Django ↵Ramiro Morales
on Windows. Follow up to 37c17846ad6b02c6dca72e8087a279cca04a0c27.
2019-04-23Fixed #30385 -- Restored SearchVector(config) immutability.Simon Charette
Regression in 1a28dc3887e8d66d5e3ff08cf7fb0a6212b873e5. The usage of CONCAT to allow SearchVector to deal with non-text fields made the generated expression non-IMMUTABLE which prevents a functional index to be created for it. Using a combination of COALESCE and ::text makes sure the expression preserves its immutability. Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the review.
2019-04-21Fixed typo in docs/internals/contributing/committing-code.txt.Ville Skyttä
2019-04-21Refs #30380 -- Used cursor._executed in ↵Mariusz Felisiak
DatabaseOperations.last_executed_query() on MySQL. Regression in a41b09266dcdd01036d59d76fe926fe0386aaade. Thanks Tobias Krönke for the report.
2019-04-19Fixed #30380 -- Handled bytes in MySQL backend for PyMySQL support.Mariusz Felisiak
This commit partly reverts efd8a82e268a82b3ad0be77bd5b4548c30bcb4d7.
2019-04-19Refs #25507 -- Added tests for using QuerySet.count() with a RawSQL annotation.Mariusz Felisiak
Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5
2019-04-19Fixed #30341 -- Added support for the furlong unit in Distance.Dustin Neighly
2019-04-19Made cosmetic edits in docs/releases/2.2.1.txt.Mariusz Felisiak
2019-04-19Fixed #30328 -- Fixed crash of IntegerField.validators when limit_value in a ↵Scott Fitsimones
custom validator is callable.
2019-04-18Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, ↵Ramiro Morales
comments and hints.
2019-04-18Refs #28762 -- Added test for aggregating over a function with ArrayField ↵Tomer Chachamu
parameters. Fixed in d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3.
2019-04-18Refs #28767 -- Added test for annotating Value() with empty list as an ↵Mariusz Felisiak
ArrayField. Fixed in 3af695eda24b874486ee8be7e0d729761b3bdc71.
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-04-18Fixed #30370 -- Added dbshell support for client TLS certificates on PostgreSQL.Oleh Mykytiuk
2019-04-18Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a ↵can
nested JSONField key transform.
2019-04-17Fixed #30191 -- Selected only referenced fields during cascade deletion.Simon Charette
The non-referenced fields can only be deferred if no deletion signals receivers are connected for their respective model as connected as these receivers might expect all fields of the deleted model to be present. Thanks Ed Morley for the report.
2019-04-17Refs #18676 -- Enabled fast-delete for m2m_changed senders.Simon Charette
There's no reason to disable fast-delete when an intermediary many-to-many model has connected m2m_changed receivers because the signal is only sent when related manager's clear() and remove() methods are directly called. This must have been overlooked in 1cd6e04cd4f768bcd4385b75de433d497d938f82 given no regression tests fail when m2m_changed is not taken into consideration to determine if fast-delete can be enabled.
2019-04-17Updated SpatiaLite install instructions to suggest first package from recent ↵Willy Njundong
Debian-based distributions.
2019-04-17Fixed #27755 -- Added ModelAdmin.get_inlines() hook.Hasan Ramezani
2019-04-16Fixed #14808 -- Doc'd that trans and blocktrans tags don't escape translations.Tobias Kunze
2019-04-16Fixed #30368 -- Fixed prefetch_related() for GenericForeignKey when PK is ↵Vinny Do
also a FK.
2019-04-16Fixed #14009 -- Fixed custom formset validation example in docs.Tobias Kunze
2019-04-16Fixed typo in docs/ref/models/instances.txt.Gary Donovan
2019-04-15Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested ↵Simon Charette
subquery errors. RecursionError was introduced in Python 3.5 and subclasses RuntimeError.
2019-04-15Refs #27149 -- Based recursive nested subquery detection on ↵Simon Charette
sys.getrecursionlimit(). This makes sure the test_avoid_infinite_loop_on_too_many_subqueries test doesn't fail on systems with a non-default recursion limit.
2019-04-15Refs #30325 -- Added tests for using count()/exists() with custom managers ↵Tobias Kunze
and reverse M2M relations.
2019-04-15Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join in ↵Mariusz Felisiak
QuerySet.count() and exists() on a many-to-many relation." This reverts commit 1299421cadc4fcf63585f2f88337078e43e660e0 due to a regression with custom managers.
2019-04-15Fixed #30326 -- Doc'd how to avoid persistence of F() assignment.sage
2019-04-14Renamed camelCaseTestMethods to snake_case_test_methodsMarkus Holtermann
2019-04-14Fixed #30350 -- Prevented recreation of migration for operations with a ↵Florian Apolloner
range object. Thanks to Mariusz Felisiak for helping with the patch.
2019-04-14Fixed #30343 -- Fixed prefetch_related() for GenericForeignKey when PK of ↵Mariusz Felisiak
related field is UUIDField.
2019-04-14Corrected wording in docs/intro/overview.txt.gnl
2019-04-13Fixed #30358 -- Removed redundant assertion in ↵Krisjanis Vaiders
FormsUtilsTestCase.test_error_dict_copy().
2019-04-13Fixed #25941 -- Improved error message for runtests.py when django is not on ↵Thomas Allison
path.
2019-04-13Fixed #30363 -- Do not use exponential notation for small decimal numbers.Sjoerd Job Postmus
In 9cc6a60040b0f64f8ea066dd215176d4bd16621d a security patch was introduced to prevent allocating large segments of memory when a very large or very small decimal number was to be formatted. As a side-effect, there was a change in formatting of small decimal numbers even when the `decimal_pos` argument was provided, which meant that reasonable small decimal numbers (above 1e-199) would be formatted as `0.00`, while smaller decimal numbers (under 1e-200) would be formatted as `1e-200`.
2019-04-13Fixed #30347 -- Fixed typo in docs/topics/db/aggregation.txt.Daniel Musketa
2019-04-09Fixed #30321 -- Added example of changed_data to forms docs.Bruno Furtado
2019-04-08Fixed #30266 -- Kept a sequence owner when altering an ↵Dolan Antenucci
AutoField/BigAutoField on PostgreSQL.
2019-04-08Fixed #30330 -- Fixed setting of primary key to None during fast-delete.Florian Apolloner
Regression in bc7dd8490b882b2cefdc7faf431dc64c532b79c9.
2019-04-08Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags ↵Ran Benita
on language cookies.
2019-04-08Fixed #28373 -- Used connection timezone instead of UTC when making dates ↵can
timezone-aware on MySQL, SQLite, and Oracle. Thanks vtalpaert for the initial patch. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-04-07Refs #27807 -- Removed docs for User.username_validator.Tim Graham
The new override functionality claimed in refs #21379 doesn't work. Forwardport of 714fdbaa7048c2321f6238d9421137c33d9af7cc from stable/1.10.x.
2019-04-06Fixed #30332 -- Fixed crash of ordering by expressions with params in ↵Simone Pellizzari
ArrayAgg and StringAgg.
2019-04-06Refs #26067 -- Added more tests for ordering in StringAgg.Simone Pellizzari
2019-04-05Refs #20010 -- Unified DatabaseOperations.last_executed_query() on Oracle ↵Mariusz Felisiak
with other db backends. Thanks Simon Charette for the review.
2019-04-05Refs #30324 -- Forced utf-8 encoding when loading templates for the ↵Nick Pope
technical 404 debug and congrats page.
2019-04-05Fixed #30324 -- Forced utf-8 encoding when loading the template for the ↵Nick Pope
technical 500 debug page. Regression in 50b8493. Related to ea542a9.
2019-04-05Fixed bidirectionality on the congrats page.Majid Vaghari