summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-04Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().Mariusz Felisiak
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Sigurd Ljødal for the report.
2020-01-03Reorganized forms.DateTimeField tests.Claude Paroz
2020-01-03Fixed #31133 -- Fixed crash when subtracting against a subquery annotation.Simon Charette
The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks Reupen Shah for the report.
2020-01-03Fixed #28991 -- Added EmptyFieldListFilter class in admin.filters.Federico Jaramillo Martínez
Thanks Simon Charette and Carlton Gibson for reviews. Co-Authored-By: Jonas Haag <jonas@lophus.org> Co-Authored-By: Christophe Baldy <christophe.baldy@polyconseil.fr>
2020-01-03Fixed typo in docs/index.txt.Marya Belanger
First steps section is no longer below tutorials overview.
2020-01-03Refs #31040 -- Fixed crypt.crypt() call in test_hashers.py.Mariusz Felisiak
An empty string is invalid salt in Python 3 and raises exception since Python 3.9, see https://bugs.python.org/issue38402.
2020-01-02Fixed #31128 -- Fixed TemplateSyntaxError in simple_tag() and ↵Patrick Seebauer
inclusion_tag() for kwargs.
2020-01-02Added stub release notes for 3.0.3.Mariusz Felisiak
2020-01-02Added release date for 3.0.2.Mariusz Felisiak
2020-01-02Fixed typo in ref/forms/widgets.txt.Mariusz Felisiak
2019-12-31Improved tests assertions in cache tests.Jon Dufresne
Added assertions to compare results of .add(), .delete(), .touch(), .incr(), .decr(), and .get_or_set() methods. Made tests use assertIs() rather than assertTrue/False().
2019-12-31Refs #31117 -- Isolated backends.sqlite.test_creation.TestDbSignatureTests.Mariusz Felisiak
2019-12-31Fixed #31097 -- Fixed crash of ArrayAgg and StringAgg with filter when used ↵David Wobrock
in Subquery.
2019-12-31Refs #31097 -- Added tests for filter in ArrayAgg and StringAgg.David Wobrock
2019-12-31Fixed #30780 -- Improved visibility of Getting Help FAQ in tutorials.Gabriel Augendre
2019-12-31Refs #30780 -- Moved "First steps" section to the top of index page.Gabriel Augendre
2019-12-30Fixed #30892 -- Fixed slugify() and admin's URLify.js for "İ".Sjbrgsn
Thanks Luis Nell for the implementation idea and very detailed report. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-12-30Fixed #30819 -- Fixed year determination in admin calendar widget for ↵Farhaan Bukhsh
two-digit years. Two-digit years in the range of [00, 68] are in the current century, while [69,99] are in the previous century, according to the Open Group Specification.
2019-12-30Refs #30819 -- Prioritized the date format with four-digit year for the ↵Aldian Fazrihady
Indonesian (id) locale.
2019-12-30Added guidelines for assertIs() usage.Mads Jensen
2019-12-30Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.Simon Charette
2019-12-30Fixed #31071 -- Disabled insert optimization for primary keys with defaults ↵Simon Charette
when loading fixtures. Model.save_base() is called directly when loading fixtures and assumes existing rows will be updated. Branching of "raw" allows to maintain the optimization introduced in #29260 while supporting this edge case. Regression in 85458e94e38c20e57939947ee515a1a53689659f. Thanks Reupen Shah for the report.
2019-12-27Fixed random models_fields.test_uuid.TestQuerying failures.Mariusz Felisiak
Random failures depended on a generated UUID.
2019-12-27Increased test coverage of django.utils.inspect.Mads Jensen
2019-12-27Fixed #31114 -- Fixed HttpRequest.build_absolute_uri() crash with ↵Jon Dufresne
reverse_lazy() locations.
2019-12-27Fixed #31121 -- Cleared Site cache in SitesFrameworkTests.Claude Paroz
Thanks Matthijs Kooijman for the report and analysis.
2019-12-27Fixed typo in django/utils/termcolors.py docstring.leollon
2019-12-23Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK ↵Mariusz Felisiak
constraints inline and changing data. This allows adding foreign key constraints inline and changing data in the same migration on PostgreSQL 10+. Regression in 738faf9da2a5cd03148a36375db80746c99c9623. Thanks Janne Rönkkö for the report and Simon Charette for the implementation idea and review.
2019-12-23Removed unnecessary code-block directives in various docs.Jon Dufresne
2019-12-23Refs #31115 -- Added test for nested subquery that references related fields.Mariusz Felisiak
Thanks Dmitriy Gunchenko for the report and Simon Charette for the analysis and tests. Regression in 5a4d7285bd10bd40d9f7e574a7c421eb21094858. Fixed in 5a4d7285bd10bd40d9f7e574a7c421eb21094858.
2019-12-23Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ↵Jon Dufresne
ChoiceWidget.create_option().
2019-12-23Refs #30998 -- Doc'd ModelChoiceField/ModelMultipleChoiceField.iterator ↵Jon Dufresne
attributes and ModelChoiceIterator.
2019-12-23Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().Simon Charette
Clearing the SELECT clause in Query.has_results was orphaning GROUP BY references to it. Thanks Thierry Bastian for the report and Baptiste Mispelon for the bisect. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.
2019-12-21Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.Taoup
2019-12-20Refs #30767 -- Improved deployment documentation.Katie McLaughlin
2019-12-20Added example of assertNumQueries() with "using" kwarg in testing topics docs.Garry Polley
2019-12-20Removed outdated information from contrib.sites docs.Garry Polley
2019-12-19Refs #28954 -- Remove remaining Jython documentation.Nick Pope
There is still no further progress on Jython 3 since support for Jython was stripped in Django 2.0. The developers experimenting with Jython 3 have stated that they would need to start from scratch, so it doesn't look as though it will materialize for years to come. Python 2 and Django 1.11, the last version to support Python 2.7, will both be end-of-life before Django 3.1 is released. We should no longer instruct users to use an unsupported version of Django.
2019-12-19Refs #28954 -- Removed remaining Jython-specific code from dispatch tests.Nick Pope
Missed in 23b21db31bfcf2a065d485617412cca43a311a4c.
2019-12-19Fixed #31095 -- Made RelatedManager.set() preserve existing m2m relations ↵Hasan Ramezani
with an invalid type.
2019-12-19Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on ↵Simon Charette
aggregations. Thanks Johannes Hoppe for the report. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-12-19Refs #31094 -- Added test for not using aliases in GROUP BY clauses.Simon Charette
2019-12-18Refs #30585 -- Updated project templates and tests to use (block)translate tags.Mike Hansen
2019-12-18Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen
2019-12-18Corrected some typos in documentation.Hasan Ramezani
2019-12-18Added stub release notes for 3.0.2.Mariusz Felisiak
2019-12-18Updated Pytest example in upgrade documentation.Adam Johnson
Pytest changed their recommended entrypoint to 'pytest' in version 3.0.0 in 2016 : https://docs.pytest.org/en/latest/changelog.html#id1009. Also link the name since this is the only reference in the Django documentation at current.
2019-12-18Added CVE-2019-19844 to the security archive.Mariusz Felisiak
2019-12-18Fixed CVE-2019-19844 -- Used verified user email for password reset requests.Simon Charette
Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-17Fixed #31086 -- Improved error message for admin model inlines with more ↵Shubham singh
than one foreign key to the same parent.