summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-14[3.1.x] Bumped version for 3.1 alpha 1 release.3.1a1Mariusz Felisiak
2020-05-14[3.1.x] Fixed #31575 -- Added system check for admin sidebar request context ↵Jon Dufresne
processor dependency. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of d522b51c401429c169d88742178a9b3777903d9e from master
2020-05-14[3.1.x] Refs #31034 -- Documented admin requires ↵Jon Dufresne
django.template.context_processors.request. Required since d24ba1be7a53a113d19e2860c03aff9922efec24. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of e341bed606d8ab2864838795276692cf86b08687 from master
2020-05-14[3.1.x] Fixed #31568 -- Fixed alias reference when aggregating over multiple ↵Simon Charette
subqueries. 691def10a0197d83d2d108bd9043b0916d0f09b4 made all Subquery() instances equal to each other which broke aggregation subquery pushdown which relied on object equality to determine which alias it should select. Subquery.__eq__() will be fixed in an another commit but Query.rewrite_cols() should haved used object identity from the start. Refs #30727, #30188. Thanks Makina Corpus for the report. Backport of adfbf653dc1c1d0e0dacc4ed46602d22ba28b004 from master
2020-05-14[3.1.x] Fixed #31566 -- Fixed aliases crash when chaining ↵Simon Charette
values()/values_list() after annotate() with aggregations and subqueries. Subquery annotation references must be resolved if they are excluded from the GROUP BY clause by a following .values() call. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Makina Corpus for the report. Backport of 42c08ee46539ef44f8658ebb1cbefb408e0d03fe from master
2020-05-14[3.1.x] Added stub release notes for 2.2.13.Mariusz Felisiak
Backport of 50798d43898c7d46926a4292f86fdf3859a433da from master
2020-05-13[3.1.x] Fixed #31576 -- Fixed selenium tests with headless mode.Mariusz Felisiak
Horizontal scrollbar doesn't appear with the headless mode on small windows, that's why window.scrollTo() is not an option for these tests. Tests changed after adding a navigation sidebar in 46fe506445666d8097945f0c1e8be11cfd644b28. Backport of 18eb852874a073001cb509f64002b6d82bdc760b from master
2020-05-13[3.1.x] Used :envvar: role and .. envvar:: directive in various docs.Nick Pope
Backport of fbdb032de266ba5f82e061ab204f6c622889d563 from master
2020-05-13[3.1.x] Used :mimetype: role in various docs.Nick Pope
Backport of feb91dbda13974f84eac52dccdc0de1ddb636616 from master
2020-05-13[3.1.x] Used :pep: role in various docs.Nick Pope
Backport of a9337b4add01e50ed8ff8d3ef44099a08cba475c from master
2020-05-13[3.1.x] Fixed numbered list in admin overview docs.Jon Dufresne
Backport of 05ed7104c0bc069352b2cee85ab918e48ee73cbe from master
2020-05-12[3.1.x] Bumped django_next_version in docs config.Mariusz Felisiak
2020-05-12Updated man page for Django 3.1 alpha.Mariusz Felisiak
2020-05-12Cosmetic edits to docs/releases/3.1.txt.Mariusz Felisiak
2020-05-12Removed empty sections from 3.1 release notes.Mariusz Felisiak
2020-05-12Refs #30678 -- Added support for GDAL 3.1.Sergey Fedoseev
OSRSetAxisMappingStrategy() really returns void, so no errcheck is needed. Previously set errcheck was raising positive false exceptions on GDAL 3.1.
2020-05-12Fixed #31569 -- Confirmed support for GEOS 3.8.Mariusz Felisiak
2020-05-12Fixed #30678 -- Added support for GDAL 3.Claude Paroz
2020-05-12Fixed E128, E741 flake8 warnings.Mariusz Felisiak
2020-05-11Updated JS admin translation catalog.Claude Paroz
2020-05-11Updated source translation catalogs.Claude Paroz
2020-05-11Corrected indentation of #main div in admin base template.Tom Carrick
2020-05-11Fixed #31034 -- Added a navigation sidebar to the admin.Tom Carrick
Co-authored-by: elky <elky@users.noreply.github.com> Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
The method has been available since Python 3.6. The shorter syntax is also marginally faster.
2020-05-11Simplified GDAL version parsing.Sergey Fedoseev
2020-05-11Optimized Model and QuerySet pickling version comparison.Adam Johnson
2020-05-11Fixed #25236 -- Deprecated {% ifequal %} and {% ifnotequal %} template tags.Jon Dufresne
The {% if %} tag provides all features of these tags. Since Django 1.2 (May 17, 2010), the docs have hinted that {% ifequal %} and {% ifnotequal %} will be deprecated in a future Django version. Time to make it official.
2020-05-11Switched unittest.TestCase to SimpleTestCase in template_tests/test_nodelist.py.Jon Dufresne
2020-05-08Fixed #31548 -- Fixed URLValidator crash on non-strings.Yash Saini
2020-05-08Added URLValidator test for missing scheme.Yash Saini
2020-05-08Fixed #31528 -- Made collectstatic management command run staticfiles checks.Hasan Ramezani
2020-05-08Refs #27661 -- Added Tags.staticfiles.Mariusz Felisiak
Follow up to 0ec4dc91e0e7befdd06aa0613b5d0fbe3c785ee7.
2020-05-08Fixed tests isolation in logging_tests.François Freitag
The SetupConfigureLogging test case does not restore the logging config after its execution. It leaves the logger django.request with an empty handlers array. This also removes the last use of LOGGING_CONFIG, introduced in 43503b093a35ca4707c16d865f10929960bfa0b8.
2020-05-08Fixed #31157 -- Fixed displaying read-only JSONField values in admin.dbxnr
2020-05-08Refs #31157 -- Added tests for display_for_field() with empty JSONField.dbxnr
2020-05-08Added tests for loaddata with gzip/bzip2 compressed fixtures.Paolo Melchiorre
Co-authored-by: Adam Johnson <me@adamj.eu>
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-08Refs #12990 -- Bumped mysqlclient requirement to >= 1.4.0.Mariusz Felisiak
MySQLdb.constants.FIELD_TYPE.JSON was added in mysqlclient 1.4.0rc2.
2020-05-08Changed selected attribute to HTML5 boolean syntax in SelectBox.js.Jon Dufresne
Per MDN, HTMLOptionElement.selected is a Boolean attribute.
2020-05-07Fixed #31542 -- Simplified admin JavaScript with "for … of" statements.Jon Dufresne
2020-05-07Enabled GitHub security policy. Adam Johnson
2020-05-07Completed test coverage for ExclusionConstraint.Mariusz Felisiak
Dropping exclusion constraints was untested.
2020-05-06Fixed #31495 - Corrected note about admin i18n in tutorial.Omkar Kulkarni
Thanks to Adam Johnson and Claude Paroz for review.
2020-05-06Added release notes URL to packaging metadata. Ville Skyttä
2020-05-06Fixed #31515 -- Made ASGIHandler dispatch lifecycle signals with thread ↵Carlton Gibson
sensitive.
2020-05-06Simplified Widget.get_context() a bit.Jon Dufresne
2020-05-06Improved wording in Q() docs.Adam Johnson
2020-05-06Fixed a/an typos in "SQL" usage.Adam Johnson
2020-05-05Updated admin's Select2 to 4.0.13.Mariusz Felisiak
2020-05-05Fixed #31485 -- Updated admin's jQuery to 3.5.1.Mariusz Felisiak