Commit Graph

28336 Commits

Author SHA1 Message Date
Frantisek Holop a79d0c8c81 [3.1.x] Refs #31615 -- Improved creating extension docs.
Backport of f3ed42c8ad from master
2020-05-27 11:14:31 +02:00
Carlton Gibson 36d5646aff [3.1.x] Updated expected release dates for 3.0.7 and 2.2.13.
Backport of 9d55ae00d3 from master
2020-05-27 10:20:37 +02:00
Mariusz Felisiak ebf553397a [3.1.x] Fixed some formatting issues in docs.
Backport of 803e70b1ad from master
2020-05-27 09:07:33 +02:00
Laurent Tramoy df88f24b1f [3.1.x] Fixed #31614 -- Fixed aliases ordering by OrderBy() expressions of combined queryset.
Backport of 2aac176e86 from master
2020-05-26 23:35:34 +02:00
Nan Liu 114da2d045 [3.1.x] Fixed #31416 -- Made autodetector find dependencies for MTI model creation 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.

Backport of 33c365781a from master
2020-05-26 08:34:14 +02:00
René Fleschenberg ccf3cecbaf [3.1.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Backport of f24b59267b from master
2020-05-25 21:04:28 +02:00
Claude Paroz 691142364f [3.1.x] Removed instructions for unsupported Apache versions.
Backport of cfa0c0e252 from master
2020-05-25 08:57:14 +02:00
Simon Charette d91095def4 [3.1.x] Fixed #31624 -- Avoided subquery usage on QuerySet.all().delete().
Thanks Adam Johnson for the report.

Regression in 7acef095d7.

Backport of 972000420e from master
2020-05-25 08:47:51 +02:00
Jon Dufresne 6e3c543909 [3.1.x] Refs #31534 -- Improved django.conf.urls.url() warning message with stacklevel=2.
Use stacklevel=2 to show the calling site.
Backport of 437196da9a from master
2020-05-23 18:18:54 +02:00
Carlton Gibson b205c0b0cc [3.1.x] Updated list of third-party DB backends.
* Alphabetized third-party DB backend list.
* Added backticks around single-word link texts to ease visual/machine sorting.
* Added CockroachDB to list of third-party DB backends.
* Updated third-party DB backend URLs.

Thanks to Nick Pope and Tim Graham for the review.
Backport of 6dcfa70cac from master
2020-05-21 20:55:25 +02:00
Hasan Ramezani a6c773aa86 [3.1.x] Fixed #31608 -- Doc'd that form ISO 8601 datetime parsing always retains tzinfo.
Backport of 643207efae from master
2020-05-21 20:49:30 +02:00
Michael Manfre 0e0005172e [3.1.x] Added notes related to security pre-notification list requests.
Backport of 0e893248b2 from master
2020-05-21 10:31:29 +02:00
Fran Hrzenjak 47e21d339f [3.1.x] Fixed #31597, #31603 -- Corrected admin clear all filters link behavior.
- 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>

Backport of 4484bc1b2f from master
2020-05-20 21:35:09 +02:00
Claude Paroz ff9cdb70cf [3.1.x] Added Kyrgyz language.
Thanks Soyuzbek orozbek uulu for contributing that support.
Backport of 3460ea49e8 from master
2020-05-20 12:30:18 +02:00
Mariusz Felisiak d5231719e0 [3.1.x] Refs #31607 -- Added release notes for a125da6a7c.
Backport of 8328811f04 from master
2020-05-20 09:19:08 +02:00
Mariusz Felisiak 937314dc05 [3.1.x] Fixed #31607 -- Fixed evaluated Subquery equality.
Regression in 691def10a0.

Backport of a125da6a7c from master
2020-05-19 22:50:36 +02:00
Carlton Gibson 844e0591f9 [3.1.x] Fixed #31591 -- Clarified "reverse" lookup name in making queries docs.
Backport of 5af17babb0 from master
2020-05-19 20:27:29 +02:00
Hannes Ljungberg 7ee19a0f78 [3.1.x] Fixed #31601 -- Fixed SearchHeadlineTests on PostgresSQL 9.6.18+, 10.13+, 11.8+, and 12.3+.
Backport of 952afc166c from master
2020-05-19 08:04:27 +02:00
xncbf 03bfcbad88 [3.1.x] Fixed #31577 -- Clarified docs about bounds of RangeFields.
Backport of 4029bcd6b2 from master
2020-05-18 20:42:33 +02:00
Jon Dufresne 3f977c5837 [3.1.x] Updated docutils link to HTTPS and new location.
Backport of 7070d46114 from master
2020-05-18 08:46:51 +02:00
Tim Graham 5480fab290 [3.1.x] Refs #12990 -- Added DatabaseFeatures.has_json_operators.
CockroachDB also has them.
Backport of f59a2b7306 from master
2020-05-18 08:12:57 +02:00
Jon Dufresne 16716551bd [3.1.x] Refs #31034 -- Used === in nav_sidebar.js admin JS to avoid possible coercion issues.
Backport of e46f700e39 from master
2020-05-18 08:09:47 +02:00
kjpc-tech ef19aec2ca [3.1.x] Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an empty QuerySet.
Regression in 55cdf6c52d.

Backport of 099bce1bf0 from master
2020-05-15 07:07:49 +02:00
Mariusz Felisiak b46b0f80e8 [3.1.x] Fixed #31584 -- Fixed crash when chaining values()/values_list() after 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 efa1908f66.
Backport of 3a941230c8 from master
2020-05-14 15:10:28 +02:00
Mariusz Felisiak bebb7d4d7e [3.1.x] Bumped version for 3.1 alpha 1 release. 2020-05-14 11:05:05 +02:00
Jon Dufresne 1c2d0fdf3e [3.1.x] Fixed #31575 -- Added system check for admin sidebar request context processor dependency.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of d522b51c40 from master
2020-05-14 11:01:22 +02:00
Jon Dufresne c9a9d042e5 [3.1.x] Refs #31034 -- Documented admin requires django.template.context_processors.request.
Required since d24ba1be7a.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of e341bed606 from master
2020-05-14 11:01:17 +02:00
Simon Charette 3913acdb29 [3.1.x] Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.
691def10a0 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 adfbf653dc from master
2020-05-14 10:26:05 +02:00
Simon Charette 8cb87a3f7c [3.1.x] Fixed #31566 -- Fixed aliases crash when chaining 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 fb3f034f1c.

Thanks Makina Corpus for the report.

Backport of 42c08ee465 from master
2020-05-14 08:39:21 +02:00
Mariusz Felisiak 6227173542 [3.1.x] Added stub release notes for 2.2.13.
Backport of 50798d4389 from master
2020-05-14 06:30:02 +02:00
Mariusz Felisiak e078870757 [3.1.x] Fixed #31576 -- Fixed selenium tests with headless mode.
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
46fe506445.
Backport of 18eb852874 from master
2020-05-13 15:46:56 +02:00
Nick Pope 4eb5e4ee4f [3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
Backport of fbdb032de2 from master
2020-05-13 09:38:59 +02:00
Nick Pope 345fa40cb5 [3.1.x] Used :mimetype: role in various docs.
Backport of feb91dbda1 from master
2020-05-13 09:38:49 +02:00
Nick Pope 15d76dc2ab [3.1.x] Used :pep: role in various docs.
Backport of a9337b4add from master
2020-05-13 09:38:40 +02:00
Jon Dufresne d6e6695d93 [3.1.x] Fixed numbered list in admin overview docs.
Backport of 05ed7104c0 from master
2020-05-13 09:09:39 +02:00
Mariusz Felisiak 90fa00fc47 [3.1.x] Bumped django_next_version in docs config. 2020-05-12 11:40:57 +02:00
Mariusz Felisiak d51e090db2 Updated man page for Django 3.1 alpha. 2020-05-12 11:26:37 +02:00
Mariusz Felisiak 0b938cb7d2 Cosmetic edits to docs/releases/3.1.txt. 2020-05-12 11:26:37 +02:00
Mariusz Felisiak a9e589030a Removed empty sections from 3.1 release notes. 2020-05-12 11:26:37 +02:00
Sergey Fedoseev 91e287cce0
Refs #30678 -- Added support for GDAL 3.1.
OSRSetAxisMappingStrategy() really returns void, so no errcheck is
needed. Previously set errcheck was raising positive false exceptions
on GDAL 3.1.
2020-05-12 11:25:19 +02:00
Mariusz Felisiak 17ea7cc973 Fixed #31569 -- Confirmed support for GEOS 3.8. 2020-05-12 09:06:06 +02:00
Claude Paroz 58f1b07e49 Fixed #30678 -- Added support for GDAL 3. 2020-05-12 09:06:06 +02:00
Mariusz Felisiak 0668164b4a
Fixed E128, E741 flake8 warnings. 2020-05-12 08:52:23 +02:00
Claude Paroz e6ec76d245
Updated JS admin translation catalog. 2020-05-11 22:59:27 +02:00
Claude Paroz 33f26339b7
Updated source translation catalogs. 2020-05-11 21:34:46 +02:00
Tom Carrick 46fe506445 Corrected indentation of #main div in admin base template. 2020-05-11 18:16:38 +02:00
Tom Carrick d24ba1be7a Fixed #31034 -- Added a navigation sidebar to the admin.
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-11 18:16:38 +02:00
Jon Dufresne d6aff369ad Refs #30116 -- Simplified regex match group access with Match.__getitem__().
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
2020-05-11 12:01:28 +02:00
Sergey Fedoseev 23f6fbdd93
Simplified GDAL version parsing. 2020-05-11 11:57:22 +02:00
Adam Johnson a8b2db1cae Optimized Model and QuerySet pickling version comparison. 2020-05-11 09:50:11 +02:00