summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2020-06-01Fixed #31570 -- Corrected translation loading for apps providing territorial ↵Carlton Gibson
language variants with different plural equations. Regression in e3e48b00127c09eafe6439d980a82fc5c591b673. Thanks to Shai Berger for report, reproduce and suggested fix.
2020-06-01Made intword/intcomma template filters independent of USE_L10N.Claude Paroz
2020-05-29Refs #21171 -- Made Collector.delete() rollback in the correct database.Simon Charette
Regression in c7dd8490b882b2cefdc7faf431dc64c532b79c9.
2020-05-29Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores.David Smith
2020-05-29Corrected slugify()'s docstring.David Smith
2020-05-28Removed unused admin:jsi18n <script> element from change_password.html.Jon Dufresne
The view does not contain any other JavaScript and therefore does not have any user facing JavaScript strings to translate. Avoid the HTTP request.
2020-05-28Refs #31040, Refs #31224 -- Prevented cycles in exceptions chain.Mariusz Felisiak
Async exception handling was raising an exception that was creating a cycle in the exception chain (by re-raising an exception in sync_to_async that was already being handled). Thanks Chris Jerdonek for detailed analysis.
2020-05-28Fixed #31468 -- Allowed specifying migration filename in Operation.Adam Johnson
This adds also suggested filename for many built-in operations.
2020-05-28Refs #31034 -- Improved accessibility of admin navigation sidebar.Tom Carrick
2020-05-27Fixed #11157 -- Stopped removing stop words in admin's prepopulated_fields.Scott Cranfill
Co-Authored-By: Andy Chosak <andy@chosak.org>
2020-05-27Fixed #31615 -- Made migrations skip extension operations if not needed.Frantisek Holop
- Don't try to create an existing extension. - Don't try to drop a nonexistent extension.
2020-05-27Fixed #31494 -- Preserved query strings when following HTTP 307/308 ↵Ahmad A. Hussein
redirects in test client.
2020-05-27Fixed #31606 -- Allowed using condition with lookups in When() expression.Ryan Heard
2020-05-26Fixed #31614 -- Fixed aliases ordering by OrderBy() expressions of combined ↵Laurent Tramoy
queryset.
2020-05-26Fixed #31416 -- Made autodetector find dependencies for MTI model creation ↵Nan Liu
on base fields removal. Removing a base field must take place before adding a new inherited model that has a field with the same name.
2020-05-25Fixed #31616 -- Added hint about middleware ordering for SessionMiddleware ↵Hasan Ramezani
admin check.
2020-05-25Fixed #29078 -- Made serializers respect prefetch_related() for m2m fields.Claude Paroz
2020-05-25Fixed #31624 -- Avoided subquery usage on QuerySet.all().delete().Simon Charette
Thanks Adam Johnson for the report. Regression in 7acef095d73322f45dcceb99afa1a4e50b520479.
2020-05-23Refs #31534 -- Improved django.conf.urls.url() warning message with ↵Jon Dufresne
stacklevel=2. Use stacklevel=2 to show the calling site.
2020-05-23Refs #30400 -- Improved typography in admin_doc/missing_docutils.html.Jon Dufresne
2020-05-21Fixed #31546 -- Allowed specifying list of tags in ↵Hasan Ramezani
Command.requires_system_checks.
2020-05-21Fixed #30375 -- Added FOR NO KEY UPDATE support to ↵Manuel Weitzman
QuerySet.select_for_update() on PostgreSQL.
2020-05-20Fixed #31597, #31603 -- Corrected admin clear all filters link behavior.Fran Hrzenjak
- Show "Clear all filters" only when any filter is selected. - Preserve query string not related with filters. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2020-05-20Added Kyrgyz language.Claude Paroz
Thanks Soyuzbek orozbek uulu for contributing that support.
2020-05-20Fixed #31410 -- Added system checks for invalid model field names in ↵Hasan Ramezani
UniqueConstraint.
2020-05-19Fixed #31607 -- Fixed evaluated Subquery equality.Mariusz Felisiak
Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4.
2020-05-19Fixed #31578 -- Dropped support for MySQL 5.6.Mariusz Felisiak
2020-05-19Fixed #31504 -- Allowed calling makemigrations without an active database ↵wtkm11
connection.
2020-05-18Updated docutils link to HTTPS and new location.Jon Dufresne
2020-05-18Refs #12990 -- Added DatabaseFeatures.has_json_operators.Tim Graham
CockroachDB also has them.
2020-05-18Refs #31034 -- Used === in nav_sidebar.js admin JS to avoid possible ↵Jon Dufresne
coercion issues.
2020-05-15Fixed #31395 -- Made setUpTestData enforce in-memory data isolation.Simon Charette
Since it's introduction in Django 1.8 setUpTestData has been suffering from a documented but confusing caveat due to its sharing of attributes assigned during its execution with all test instances. By keeping track of class attributes assigned during the setUpTestData phase its possible to ensure only deep copies are provided to test instances on attribute retreival and prevent manual setUp gymnastic to work around the previous lack of in-memory data isolation. Thanks Adam Johnson for the extensive review.
2020-05-15Fixed #31552 -- Added support for LZMA and XZ fixtures to loaddata.Paolo Melchiorre
2020-05-15Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an empty QuerySet.kjpc-tech
Regression in 55cdf6c52db07f29128741b8734a523ed042e465.
2020-05-14Fixed #31524 -- Removed minified static assets from the admin.Jon Dufresne
2020-05-14Fixed #31584 -- Fixed crash when chaining values()/values_list() after ↵Mariusz Felisiak
Exists() annotation and aggregation on Oracle. Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in the GROUP BY clause. Regression in efa1908f662c19038a944129c81462485c4a9fe8.
2020-05-14Fixed #31575 -- Added system check for admin sidebar request context ↵Jon Dufresne
processor dependency. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-05-14Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.Simon Charette
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.
2020-05-14Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() ↵Simon Charette
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.
2020-05-14Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak
2020-05-13Removed unused Downcoder.chars.Jon Dufresne
Unused -- other than as a local variable -- since its introduction in 953badbea5a04159adbfa970f5805c0232b6a401
2020-05-13Fixed #31580 -- Added error messages on distinct() following union(), ↵Hasan Ramezani
intersection(), and difference().
2020-05-13Renamed PROJ.4 to PROJ.Claude Paroz
2020-05-13Updated logging calls to use arguments instead of string interpolation.François Freitag
2020-05-13Increased the default PBKDF2 iterations for Django 3.2.Mariusz Felisiak
2020-05-13Advanced deprecation warnings for Django 3.2.Mariusz Felisiak
2020-05-13Bumped version; master is now 3.2 pre-alpha.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 #30678 -- Added support for GDAL 3.Claude Paroz
2020-05-12Fixed E128, E741 flake8 warnings.Mariusz Felisiak