summaryrefslogtreecommitdiff
path: root/django
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] 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-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 #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-08Fixed #31548 -- Fixed URLValidator crash on non-strings.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 #31157 -- Fixed displaying read-only JSONField values in admin.dbxnr
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-06Fixed #31515 -- Made ASGIHandler dispatch lifecycle signals with thread ↵Carlton Gibson
sensitive.
2020-05-06Simplified Widget.get_context() a bit.Jon Dufresne
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
2020-05-05Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.Mariusz Felisiak
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e. Thanks Simon Meers for the report.
2020-05-05Refs #28622 -- Corrected PASSWORD_RESET_TIMEOUT/PASSWORD_RESET_TIMEOUT_DAYS ↵Chris Burchhardt
docs. Removed outdated note about an extra day in PASSWORD_RESET_TIMEOUT docs and incorrect "minimum" phrase.
2020-05-05Fixed #31534 -- Deprecated django.conf.urls.url().David Smith
2020-05-05Removed invalid value from admin CSS.Jon Dufresne
The keyword value 'none' is not a valid value for padding-bottom.
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-05-04Refs #30372 -- Stopped watching built-in Django translation files by ↵Tom Forbes
auto-reloader.
2020-05-04Changed `'%s' % value` pattern to `str(value)`.Nick Pope
2020-05-02Optimized collectstatic when verbosity is 0.François Freitag
Avoid the dict lookup and length computation when command is not run in verbose mode.
2020-05-02Refs #31032 -- Removed obsolete CSS workaround for IE in openlayers template.Mariusz Felisiak
2020-05-01Fixed #31455 -- Added support for deferrable exclusion constraints on ↵Ian Foote
PostgreSQL.
2020-05-01Removed unused CSS in admin.Jon Dufresne
.system-message, .system-message-title are unused since their introduction in ce0d0cd9e2cd5ac9850d825f28db39b1e123ac1e. .float-right, .float-left, .align-left, .align-right, and .example are unused since 6eb4f2569266391e223410ab7eaa2555ac0a4f10.
2020-05-01Removed CSS workarounds for IE7 in admin.Jon Dufresne
2020-05-01Refs #31032 -- Removed unnecessary vendor prefixes from admin CSS.Jon Dufresne
The CSS properties have been standardized and are available in all supported browsers.
2020-04-30Doc'd send_email() behavior when from_email is None.Adrian D'Alessandro
2020-04-30Fixed #20581 -- Added support for deferrable unique constraints.Ian Foote
2020-04-29Refs #27468 -- Made user sessions use SHA-256 algorithm.Mariusz Felisiak
2020-04-29Removed unnecessary &nbsp; entities from the admin.Jon Dufresne
Normal spaces are fine when used as a single spaced separation. For larger spacing, CSS is used.
2020-04-29Refs #31493 -- Changed IIFE to ES6 blocks.Jon Dufresne
2020-04-29Fixed #31493 -- Replaced var with const and let keywords in JavaScript.Jon Dufresne
The eslint configuration and the admin script compress.py have been updated for ES6. The unused fallback of globals.django in jquery.init.js was removed. It is always included before jsi18n-mocks.test.js and it always sets the global value.
2020-04-29Refs #30400 -- Improved typography of user facing strings in admin changelist.Jon Dufresne
2020-04-28Fixed #29249 -- Made JSON and YAML serializers use Unicode by default.Hasan Ramezani
2020-04-28Changed django.forms.ValidationError imports to ↵François Freitag
django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>