summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-04Refs #13312 -- Simplified handling of nulls ordering on MySQL.Nick Pope
MySQL & MariaDB support the standard IS NULL and IS NOT NULL so the same workaround used for NULLS FIRST and NULLS LAST that is used for SQLite < 3.30.0 can be used. Thanks Simon Charette for the discussion.
2019-11-04Refs #30116 -- Simplified stdout/stderr decoding with subprocess.run()'s ↵Jon Dufresne
encoding argument. The encoding argument has been available since Python 3.6. https://docs.python.org/3/library/subprocess.html#subprocess.run
2019-11-04Updated list of field types conversions in ModelForm docs.Adam Johnson
2019-11-04Simplified consecutive calls to pathlib.Path.parent.Jon Dufresne
2019-11-04Added release dates for 2.2.7, 2.1.14, and 1.11.26.Mariusz Felisiak
2019-11-04Fixed #30931 -- Restored ability to override Model.get_FIELD_display().Carlton Gibson
Thanks Sergey Fedoseev for the implementation idea. Regression in a68ea231012434b522ce45c513d84add516afa60.
2019-11-01Refs #27808 -- Added test for saving nested ArrayField with nullable base field.Hasan Ramezani
2019-10-31Refs #13312 -- Removed unnecessary IF wrapping in nulls_last handling on MySQL.Simon Charette
ISNULL function already returns 0 and 1 on MySQL.
2019-10-31Refs #30095 -- Simplified Field._check_choices() a bit.Mariusz Felisiak
Using an internal is_value() hook to check whether Field.choices is iterable is misleading.
2019-10-31Fixed #30761 -- Prevented floatformat filter from returning a negative zero.Sky
2019-10-31Added more tests for floatformat filter with negative values.Sky
2019-10-31Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path.Hasan Ramezani
2019-10-31Refs #28428 -- Added tests for using FileSystemStorage with pathlib.Path.Hasan Ramezani
2019-10-31Refs #23576 -- Disabled MySQL multi-alias deletion path on MariaDB 10.3.2+.Simon Charette
2019-10-30Fixed typo in docs/ref/signals.txt.Gil Forcada Codinachs
2019-10-30Corrected error message in Many-to-many relationships docs.Mariusz Felisiak
2019-10-30Refs #20456 -- Moved initialization of HEAD method based on GET to the ↵Felipe Lee
View.setup() for generic views. This will ease unit testing of views since setup will essentially do everything needed to set the view instance up (other than instantiating it). Credit for idea goes to Vincent Prouillet.
2019-10-30Refs #20456 -- Added test for initialization of request/args/kwargs ↵Felipe Lee
attributes in View.Setup().
2019-10-30Fixed #30927 -- Simplified an example of test for the deprecation warning ↵André Ericson
with assertWarnsMessage().
2019-10-30Refs #28428 -- Made filepath_to_uri() support pathlib.Path.Hasan Ramezani
2019-10-30Fixed #30917 -- Clarified formsets topic documentation.Ken Whitesell
2019-10-29Fixed #13750 -- Clarified need to reopen models.ImageField.image file to ↵Hasan Ramezani
access raw image data.
2019-10-29Fixed typo in docs/topics/files.txt.Mariusz Felisiak
2019-10-29Simplified AuthenticationMiddleware a bit.Sergey Fedoseev
SimpleLazyObject already caches value in _wrapped.
2019-10-29Used more specific unittest assertions in tests.Nick Pope
* assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False.
2019-10-29Fixed #30922 -- Fixed ModelAdmin.date_hierarchy queries with DST changes.Erwin Junge
There was an issue where admin date_hierarchy didn't render last day of a month in DST-switch month.
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2019-10-29Refs #30899 -- Made _lazy_re_compile() support bytes.Hasan Ramezani
2019-10-29Refs #30899 -- Moved _lazy_re_compile() to the django.utils.regex_helper.Hasan Ramezani
2019-10-29Refs #30908 -- Added test for nonexistent path in forms.FilePathField.Hasan Ramezani
2019-10-28Documented the order in which signal receivers are called.Adam Johnson
2019-10-28Fixed #30918 -- Made timesince()/timeuntil() respect custom time strings for ↵Hasan Ramezani
future and the same datetimes.
2019-10-28Fixed #30907 -- Fixed SplitArrayField.has_changed() with removal of empty ↵Pavel Dedik
trailing values.
2019-10-28Refs #30907 -- Added SplitArrayField._remove_trailing_nulls() hook.Pavel Dedik
2019-10-28Refs #30907 -- Added more tests for SplitArrayField.has_changed().Pavel Dedik
2019-10-25Fixed #29770 -- Added LinearRing.is_counterclockwise property.Sergey Fedoseev
2019-10-25Fixed #29087 -- Added delete buttons for unsaved admin inlines on validation ↵Carlton Gibson
error.
2019-10-25Refs #29087 -- Refactored admin inlines.js.Carlton Gibson
Split logic into separate functions to clarify and allow reuse.
2019-10-25Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.Mariusz Felisiak
2019-10-25Fixed #30902 -- Added __str__() for model choice enums.Carlton Gibson
Allows expected behavior when cast to str, also matching behaviour of created instances with those fetched from the DB. Thanks to Simon Charette, Nick Pope, and Shai Berger for reviews.
2019-10-25Fixed #30904 -- Doc'd caveat about using filtered queryset with ↵Saad
select_for_update() on MySQL.
2019-10-25Fixed #30906 -- Fixed an example of using the template system to generate CSV.Hasan Ramezani
2019-10-24Refs #30897 -- Made cosmetic edits to QuerySet.explain() documentation.Carlton Gibson
2019-10-24Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on ↵Nick Pope
MariaDB and MySQL 8.0.18+.
2019-10-24Refs #30897 -- Added support for TREE format to Queryset.explain() on MySQL ↵Nick Pope
8.0.16+.
2019-10-24Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.Bastien Vallet
2019-10-24Fixed #23576 -- Implemented multi-alias fast-path deletion in MySQL backend.Simon Charette
This required moving the entirety of DELETE SQL generation to the compiler where it should have been in the first place and implementing a specialized compiler on MySQL/MariaDB. The MySQL compiler relies on the "DELETE table FROM table JOIN" syntax for queries spanning over multiple tables.
2019-10-24Fixed DatabaseFeatures.update_can_self_select on MariaDB 10.3.2+.Mariusz Felisiak
2019-10-24Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.Carlton Gibson
Refs https://bugs.python.org/issue38563.
2019-10-24Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with ↵Hannes Ljungberg
opclasses and ordering.