Mariusz Felisiak
ae91c0b892
[2.0.x] Reverted "Fixed relative paths imports per isort 4.3.5."
...
This reverts commit 463fe11bc8
due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
Backport of b435f82939
from master.
2019-03-03 19:40:15 +01:00
Mariusz Felisiak
d39eb82af6
[2.0.x] Fixed relative paths imports per isort 4.3.5.
...
Backport of 463fe11bc8
from master.
2019-02-25 19:55:00 +01:00
Carlton Gibson
41acfcb381
[2.0.x] Post-release version bump.
2019-02-12 14:25:57 +01:00
Carlton Gibson
ae8270d800
[2.0.x] Bumped version for 2.0.13 release.
2019-02-12 11:31:59 +01:00
Tim Graham
392e040647
[2.0.x] Fixed #30177 -- Fixed format_number() crash with over 200 digits.
...
There are existing test failures. The incorrect patch was applied
in 1f42f82566
.
2019-02-11 13:46:03 -05:00
Carlton Gibson
6d0a3002ed
[2.0.x] Bumped version for 2.0.12 release.
2019-02-11 16:03:38 +01:00
Carlton Gibson
be439e5876
[2.0.x] Bumped version for 2.0.11 release.
2019-02-11 11:28:53 +01:00
Carlton Gibson
1f42f82566
[2.0.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
...
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.
2019-02-11 11:14:09 +01:00
Mariusz Felisiak
9518450973
[2.0.x] Fixed E117 and F405 flake8 warnings.
...
Backport of 5a5c77d55d
from master
2019-01-30 13:13:49 +01:00
Tim Graham
cf56a185dd
[2.0.x] Post-release version bump.
2019-01-04 09:03:40 -05:00
Tim Graham
2b865f4c59
[2.0.x] Bumped version for 2.0.10 release.
2019-01-04 08:59:15 -05:00
Tom Hacohen
9f4ed7c94c
[2.0.x] Fixed #30070 , CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.
...
Co-Authored-By: Tim Graham <timograham@gmail.com>
Backport of 1ecc0a395b
from master.
2019-01-03 22:01:12 -05:00
Simon Charette
ecece1b22e
[2.0.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
...
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.
SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.
Thanks ezaquarii for the report and Carlton and Tim for the review.
Backport of 315357ad25
from master.
2018-12-17 10:06:48 -05:00
Simon Charette
53b17d4734
[2.0.x] Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.
...
SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.
The newly introduced legacy_alter_table pragma disables this behavior
and restores the previous schema editor assumptions.
Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.
Backport of c8ffdbe514
from master.
2018-12-07 14:22:42 -05:00
Claude Paroz
3cc125b582
[2.0.x] Fixed #29959 -- Cached GEOS version in WKBWriter class.
...
Regression in f185d929fa
.
Backport of e7e5505902
from master.
2018-11-16 15:13:40 -05:00
Mariusz Felisiak
9be172f585
[2.0.x] Fixed F841 flake8 warning.
...
Backport of 641742528a
from master.
2018-10-24 09:38:53 -04:00
Carlton Gibson
81999b5c5f
[2.0.x] Post-release version bump.
2018-10-01 11:39:26 +02:00
Carlton Gibson
c8baf4bb9d
[2.0.x] Bumped version for 2.0.9 release.
2018-10-01 09:58:29 +02:00
Michael Sanders
4441826026
[2.0.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
...
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.
Backport of 271542dad1
from master
2018-08-02 17:25:15 -04:00
Tim Graham
05b0ae53ea
[2.0.x] Post-release version bump.
2018-08-01 11:05:43 -04:00
Tim Graham
b83b44f40c
[2.0.x] Bumped version for 2.0.8 release.
2018-08-01 09:48:00 -04:00
Andreas Hug
6fffc3c6d4
[2.0.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware.
2018-07-31 10:37:29 -04:00
Dražen Odobašić
253f1b74da
[2.0.x] Fixed #29617 -- Fixed Template crash if template_string is lazy.
...
Regression in 3a148f958d
.
Backport of 9f3b9ffd51
from master.
2018-07-31 10:11:18 -04:00
François Freitag
c26f001967
[2.0.x] Fixed django/http/request.py docstring typo.
...
Backport of 93e721a0b8
from master
2018-07-16 14:44:49 +02:00
Michal Čihař
1645471348
[2.0.x] Fixed #29544 -- Fixed regex lookup on MariaDB.
...
Regression in 4249076844
.
Backport of 39e287d8bf
from master
2018-07-05 12:12:11 -04:00
Carlton Gibson
0496df8a26
[2.0.x] Post-release version bump.
2018-07-02 11:12:18 +02:00
Carlton Gibson
e042eead94
[2.0.x] Bumped version for 2.0.7 release.
2018-07-02 10:52:57 +02:00
Tim Graham
cba51003de
[2.0.x] Refs #28814 -- Fixed migrations crash with namespace packages on Python 3.7.
...
Due to https://bugs.python.org/issue32303 .
Backport of 0f0a07ac27
from master
2018-06-28 10:05:46 -04:00
Tim Graham
4b3b9fab08
[2.0.x] Reverted "Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header."
...
This reverts commit 8e082a6e0b
as it
doesn't qualify for a backport.
2018-06-25 09:43:39 -04:00
Tim Graham
8e082a6e0b
[2.0.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.
...
Backport of 7cdeb23ae7
from master
2018-06-22 09:33:05 +02:00
Tom
f8a6488839
[2.0.x] Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.
...
Backport of 4249076844
from master
2018-06-20 11:01:16 -04:00
Tim Graham
83986af95d
[2.0.x] Refs #29428 -- Fixed admin check crash when using a query expression in ModelAdmin.ordering.
...
Backport of ec2c9c3531
from master
2018-06-15 10:12:44 -04:00
Tim Graham
4bccfac36f
[2.0.x] Fixed #29428 -- Fixed admin changelist crash when using a query expression without asc()/desc() in the ordering.
...
Backport of 0d8e3e608e
from master
2018-06-15 10:12:40 -04:00
Tim Graham
9dfb6fcbd5
[2.0.x] Fixed 'invalid escape sequence' warning in GEOSGeometryBase.from_ewkt().
...
Backport of 7a266e25be
from master.
2018-06-12 10:25:17 -04:00
Tim Graham
744a44dfa1
[2.0.x] Refs #28462 -- Fixed 'invalid escape sequence' warning on Python 3.6+.
...
Backport of e9bd1a3e12
from master
2018-06-06 12:01:10 -04:00
Carlton Gibson
0b39420bf2
[2.0.x] Updated version after release.
2018-06-01 17:38:53 +02:00
Carlton Gibson
3e36ecedff
[2.0.x] Bumped version for 2.0.6 release.
2018-06-01 17:07:43 +02:00
Adam Donaghy
22c7c2db1d
[2.0.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.
...
Regression in 917cc288a3
.
Backport of b18650a263
from master
2018-06-01 11:00:34 -04:00
Tim Graham
ceeccc51d2
[2.0.x] Fixed #29460 -- Added support for GEOS 3.6.
...
Backport of f185d929fa
from master
2018-05-31 11:36:43 -04:00
Mariusz Felisiak
74bbef4ee0
[2.0.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL when using a RawSQL annotation.
...
Regression in 1d070d027c
.
Backport of 4ab1f559e8
from master
2018-05-27 18:59:35 -04:00
Xaroth Brook
1adac352d3
[2.0.x] Fixed #29415 -- Fixed detection of custom URL converters in included patterns.
...
Backport of 39283c8edb
from master
2018-05-26 20:52:48 -04:00
Ryan Rubin
c2a1af883e
[2.0.x] Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
...
Regression in 620e9dd31a
.
Backport of a8d12bc280
from master
2018-05-25 11:22:06 -04:00
Richard Morrison
cffe9a2497
[2.0.x] Added missing word to render_to_response deprecation warning.
...
Backport of 35b6a348de
from master
2018-05-16 05:33:38 -04:00
Tim Graham
8ecf3c752d
[2.0.x] Post-release version bump.
2018-05-01 21:37:29 -04:00
Tim Graham
71fc33ac99
[2.0.x] Bumped version for 2.0.5 release.
2018-05-01 21:25:28 -04:00
Brett Cannon
b98fa241dd
[2.0.x] Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.
...
Backport of 64b74804c5
from master
2018-04-17 20:56:33 -04:00
Mariusz Felisiak
3619d32209
[2.0.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection().
...
Regression in a0c03c62a8
.
Thanks Tim Graham and Carlton Gibson for reviews.
Backport of 0b66c3b442
from master
2018-04-13 12:27:00 +02:00
Paul Donohue
1ed31efb87
[2.0.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.
...
Backport of 33a0b7ac81
from master
2018-04-12 13:11:53 -04:00
Jeremy Bowman
d5018abf1c
[2.0.x] Fixed #29193 -- Prevented unnecessary foreign key drops when altering a unique field.
...
Stopped dropping and recreating foreign key constraints on other fields
in the same table as the one which is actually being altered in an
AlterField operation.
Regression in c3e0adcad8
.
Backport of ee17bb8a67
from master
2018-04-11 23:17:37 -04:00
Alasdair Nicol
0eb71b85bf
[2.0.x] Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.
...
Thanks erindy for the report.
Backport of 65c44a5c1d
from master
2018-04-10 09:58:40 -04:00