summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Jon Dufresne
Follow up to 253adc2b8a52982139d40c4f55b3fd446e1cb8f3.
2019-04-29Simplified Field.contribute_to_class().Jon Dufresne
2019-04-27Fixed #30351 -- Handled pre-existing permissions in proxy model permissions ↵Carlton Gibson
data migration. Regression in 181fb60159e54d442d3610f4afba6f066a6dac05.
2019-04-27Fixed typos in test names.Daniel Hahler
2019-04-26Fixed #30361 -- Increased the default timeout of watchman client to 5 ↵Jacob Green
seconds and made it customizable. Made the default timeout of watchman client customizable via DJANGO_WATCHMAN_TIMEOUT environment variable.
2019-04-26Fixed #30312 -- Relaxed admin check from django.contrib.sessions to ↵Aarni Koskela
SessionMiddleware subclasses.
2019-04-25Refs #30388 -- Added release note for 0f22671ecb7e9555300fd2d6cb7bf6dc61735d07.Mariusz Felisiak
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵Jon Dufresne
html.escape()/unescape().
2019-04-25Removed redundant os.path.abspath() call.Jon Dufresne
2019-04-25Fixed #30318 -- Added check for importability of arguments of custom error ↵Alasdair Nicol
handler views. Thanks to Jon on Stack Overflow for reporting the issue.
2019-04-25Fixed #30393 -- Added validation of startapp's directory option.oliver
2019-04-25Fixed #30388 -- Made inspectdb generate OneToOneFields rather than ↵Ville Skyttä
ForeignKey(unique/primary_key=True).
2019-04-25Fixed #30362 -- Noted partial indexes and constraints restrictions with ↵Mariusz Felisiak
abstract base classes. Thanks Carlton Gibson for the review.
2019-04-25Fixed UniqueConstraint example in ref/models/constraints.txt.Mariusz Felisiak
2019-04-24Refs #30241 -- Fixed BytesWarning emitted in test_translation tests.Jon Dufresne
2019-04-24Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems.Martijn Jacobs
When on MacOS High Sierra or below (<=10.13) it could be that a HFS+ filesystem is used. HFS+ has a time resolution of only one second which can be too low for some of the tests.
2019-04-24Removed unnecessary assignments in various code.Jon Dufresne
2019-04-24Fixes #30342 -- Removed a system check for LANGUAGES_BIDI setting.Matthias Kestenholz
This partly reverts commit 4400d8296d268f5a8523cd02ddc33b12219b2535.
2019-04-24Changed tuple Mate.unique_together/permissions to lists in docs.Luke Plant
2019-04-24Refs #30254 -- Added tests for Model.__hash__() inheritance.Carlton Gibson
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