1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

11787 Commits

Author SHA1 Message Date
David Smith
bd766ac8bf [3.1.x] Fixed #31628 -- Updated Windows install guide to recommend venv.
Backport of 922ff51f5ac34205f454d7b5786cef57f32b6ca3 from master
2020-05-27 11:20:13 +02:00
Frantisek Holop
a79d0c8c81 [3.1.x] Refs #31615 -- Improved creating extension docs.
Backport of f3ed42c8ad3757e7238bf2f326532f5b129aa102 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 9d55ae00d3dad9e93714add69ab7e48e7b0bcafa from master
2020-05-27 10:20:37 +02:00
Mariusz Felisiak
ebf553397a [3.1.x] Fixed some formatting issues in docs.
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master
2020-05-27 09:07:33 +02:00
René Fleschenberg
ccf3cecbaf [3.1.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Backport of f24b59267be2e5fc5bd1252efda3aed19f860813 from master
2020-05-25 21:04:28 +02:00
Claude Paroz
691142364f [3.1.x] Removed instructions for unsupported Apache versions.
Backport of cfa0c0e252c680f574c8eea1118e6d11bf7e5fa5 from master
2020-05-25 08:57:14 +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 6dcfa70cac29c854fc5169bed1cf6479eabdb8c1 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 643207efaebbff4e7c3ebcbf9ca49fb6197137e1 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 0e893248b28e30bf562d29e6d5745ffad4b1a1eb from master
2020-05-21 10:31:29 +02:00
Claude Paroz
ff9cdb70cf [3.1.x] Added Kyrgyz language.
Thanks Soyuzbek orozbek uulu for contributing that support.
Backport of 3460ea49e839fd6bb924c48eaa1cd3d6dc888035 from master
2020-05-20 12:30:18 +02:00
Mariusz Felisiak
d5231719e0 [3.1.x] Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.
Backport of 8328811f048fed0dd22573224def8c65410c9f2e from master
2020-05-20 09:19:08 +02:00
Carlton Gibson
844e0591f9 [3.1.x] Fixed #31591 -- Clarified "reverse" lookup name in making queries docs.
Backport of 5af17babb0f895cf129fdeee92548d2ac12e78e2 from master
2020-05-19 20:27:29 +02:00
xncbf
03bfcbad88 [3.1.x] Fixed #31577 -- Clarified docs about bounds of RangeFields.
Backport of 4029bcd6b20f75a78f9a5829d7826c79aeb20732 from master
2020-05-18 20:42:33 +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 efa1908f662c19038a944129c81462485c4a9fe8.
Backport of 3a941230c85b2702a5e1cd97e17251ce21057efa from master
2020-05-14 15:10:28 +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 d522b51c401429c169d88742178a9b3777903d9e 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 d24ba1be7a53a113d19e2860c03aff9922efec24.

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

Backport of e341bed606d8ab2864838795276692cf86b08687 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.
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 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 fb3f034f1c63160c0ff13c609acd01c18be12f80.

Thanks Makina Corpus for the report.

Backport of 42c08ee46539ef44f8658ebb1cbefb408e0d03fe 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 50798d43898c7d46926a4292f86fdf3859a433da from master
2020-05-14 06:30:02 +02:00
Nick Pope
4eb5e4ee4f [3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
Backport of fbdb032de266ba5f82e061ab204f6c622889d563 from master
2020-05-13 09:38:59 +02:00
Nick Pope
345fa40cb5 [3.1.x] Used :mimetype: role in various docs.
Backport of feb91dbda13974f84eac52dccdc0de1ddb636616 from master
2020-05-13 09:38:49 +02:00
Nick Pope
15d76dc2ab [3.1.x] Used :pep: role in various docs.
Backport of a9337b4add01e50ed8ff8d3ef44099a08cba475c 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 05ed7104c0bc069352b2cee85ab918e48ee73cbe 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
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
72a170b4c3 Fixed #25236 -- Deprecated {% ifequal %} and {% ifnotequal %} template tags.
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-11 09:07:33 +02:00
sage
6789ded0a6 Fixed #12990, Refs #27694 -- Added JSONField model field.
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-08 07:23:31 +02:00
Mariusz Felisiak
f97f71f592 Refs #12990 -- Bumped mysqlclient requirement to >= 1.4.0.
MySQLdb.constants.FIELD_TYPE.JSON was added in mysqlclient 1.4.0rc2.
2020-05-08 06:14:42 +02:00
Omkar Kulkarni
b7f1c0d86d
Fixed #31495 - Corrected note about admin i18n in tutorial.
Thanks to Adam Johnson and Claude Paroz for review.
2020-05-06 16:19:04 +02:00
Adam Johnson
83c631ade7
Improved wording in Q() docs. 2020-05-06 06:43:28 +02:00
Adam Johnson
1c2c6f1b51
Fixed a/an typos in "SQL" usage. 2020-05-06 06:35:26 +02:00
Mariusz Felisiak
aff7a58aef
Updated admin's Select2 to 4.0.13. 2020-05-05 11:30:02 +02:00
Mariusz Felisiak
30083e0780 Fixed #31485 -- Updated admin's jQuery to 3.5.1. 2020-05-05 11:00:05 +02:00
Mariusz Felisiak
b73e66e758
Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.

Thanks Simon Meers for the report.
2020-05-05 09:08:29 +02:00
Chris Burchhardt
d2b9a9fdbb Refs #28622 -- Corrected PASSWORD_RESET_TIMEOUT/PASSWORD_RESET_TIMEOUT_DAYS docs.
Removed outdated note about an extra day in PASSWORD_RESET_TIMEOUT
docs and incorrect "minimum" phrase.
2020-05-05 08:19:25 +02:00
David Smith
2522559d1a Fixed #31534 -- Deprecated django.conf.urls.url(). 2020-05-05 07:34:34 +02:00
QQ喵
0ebabe325d Doc'd country part of locale name with more than 2 characters. 2020-05-04 20:50:18 +02:00
Adam Johnson
d17b380653 Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments. 2020-05-04 12:10:47 +02:00
Adam Johnson
787981f9d1 Corrected models.FilePathField signature in docs. 2020-05-04 12:10:41 +02:00
Tom Forbes
c00bc27945 Refs #30372 -- Stopped watching built-in Django translation files by auto-reloader. 2020-05-04 09:13:47 +02:00
Nick Pope
8f10ceaa90 Changed '%s' % value pattern to str(value). 2020-05-04 08:27:18 +02:00
Mariusz Felisiak
7668f9bce9 Fixed typo in docs/releases/3.0.6.txt. 2020-05-04 07:42:25 +02:00
Mariusz Felisiak
8e8ff38cb8 Added stub release notes for 3.0.7. 2020-05-04 07:38:35 +02:00
Mariusz Felisiak
c5358794e3 Added release date for 3.0.6. 2020-05-04 07:04:23 +02:00