Carlton Gibson
8d741bd88f
[2.1.x] Fixed #30036 -- Removed unused imports in pagination example.
...
Backport of a394289b58
from master
2018-12-12 18:50:53 +01:00
Simon Charette
fc8c2284e9
[2.1.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:27 -05:00
Rodrigo
4c506730b5
[2.1.x] Fixed #29895 -- Doc'd why MySQL's atomic DDL statements don't work for atomic migrations.
...
Backport of ad191d9e01
from master.
2018-12-06 16:45:39 -05:00
Tim Graham
389ef05b1b
[2.1.x] Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+.
...
Backport of 734ce71824
from master.
2018-12-05 15:10:36 -05:00
Tim Graham
1084906927
[2.1.x] Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+.
...
Backport of 284b3221a2
from master.
2018-12-05 15:09:19 -05:00
Carlton Gibson
878744586b
[2.1.x] Added stub release notes for 2.1.5 release.
...
Backport of 196b420fcb
from master
2018-12-04 16:23:16 +01:00
Carlton Gibson
2a99d476c6
[2.1.x] Post-release version bump.
2018-12-03 18:11:58 +01:00
Carlton Gibson
f1374f34da
[2.1.x] Bumped version for 2.1.4 release.
2018-12-03 17:37:53 +01:00
Carlton Gibson
c74e53f1c9
[2.1.x] Added release date for 2.1.4.
...
Backport of 346721a038
from master
2018-12-03 17:34:59 +01:00
Carlton Gibson
27f5b0aff3
[2.1.x] Fixed #29930 -- Allowed editing in admin with view-only inlines.
...
Co-authored-by: Tim Graham <timograham@gmail.com>
Backport of 8245c99ee6
from master
2018-12-03 17:34:36 +01:00
Carlton Gibson
b623c49c39
[2.1.x] Added release date for 1.11.17.
...
Backport of 950112548e
from master
2018-12-03 15:21:57 +01:00
raratiru
8f8be2a8d7
[2.1.x] Fixed #29991 -- Doc'd logger propogation for the default logging config.
...
Backport of 793a71b7be
from master.
2018-11-29 20:32:49 -05:00
Basil Dubyk
381bdd4898
[2.1.x] Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields.
...
Backport of 7d1123e5ad
from master.
2018-11-28 15:50:30 -05:00
Tim Graham
a9d9680ea3
[2.1.x] Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when they're populated.
...
Backport of 682cdf6cab
from master.
2018-11-28 15:12:31 -05:00
Tim Graham
7e9d5a0aca
[2.1.x] Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
...
Backport of 926fa7116f
from master.
2018-11-27 16:26:18 -05:00
Simon Charette
5760e05375
[2.1.x] Corrected Aggregate docs to reflect that it accepts multiple expressions.
...
Backport of 9a7d336c38
from master.
2018-11-27 09:28:49 -05:00
Damian Dimmich
0d4bbd3f33
[2.1.x] Updated docs for fast column creation with defaults in PostgreSQL 11.
...
Backport of 133e79399a
from master.
2018-11-26 10:13:29 -05:00
takaaki shimbo
4e6285c490
[2.1.x] Fixed typo in patch_logger() docstring.
...
Backport of 6275b50ac2
from master
2018-11-25 14:43:44 -05:00
andreage
d18e14e1d9
[2.1.x] Fixed typo in docs/topics/i18n/translation.txt.
...
Backport of 78fc64578a
from master
2018-11-23 10:13:17 +01:00
Florian Apolloner
e1721ece48
[2.1.x] Fixed #29849 -- Fixed keep-alive support in runserver.
...
Ticket #25619 changed the default protocol to HTTP/1.1 but did not
properly implement keep-alive. As a "fix" keep-alive was disabled in
ticket #28440 to prevent clients from hanging (they expect the server to
send more data if the connection is not closed and there is no content
length set).
The combination of those two fixes resulted in yet another problem:
HTTP/1.1 by default allows a client to assume that keep-alive is
supported unless the server disables it via 'Connection: close' -- see
RFC2616 8.1.2.1 for details on persistent connection negotiation. Now if
the client receives a response from Django without 'Connection: close'
and immediately sends a new request (on the same tcp connection) before
our server closes the tcp connection, it will error out at some point
because the connection does get closed a few milli seconds later.
This patch fixes the mentioned issues by always sending 'Connection:
close' if we cannot determine a content length. The code is inefficient
in the sense that it does not allow for persistent connections when
chunked responses are used, but that should not really cause any
problems (Django does not generate those) and it only affects the
development server anyways.
Refs #25619 , #28440 .
Regression in ac756f16c5
.
Backport of 934acf1126
from master.
2018-11-20 17:44:03 -05:00
Tim Graham
ab2b86c124
[2.1.x] Doc'd purpose of "Database backend API" backwards incompatible changes section.
...
Backport of f436c82637
from master.
2018-11-17 16:04:59 -05:00
Tim Graham
b94279dd26
[2.1.x] Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.
...
Backport of 2fd21a1858
from master.
2018-11-17 16:04:33 -05:00
Claude Paroz
0991940c88
[2.1.x] Fixed #29959 -- Cached GEOS version in WKBWriter class.
...
Regression in f185d929fa
.
Backport of e7e5505902
from master.
2018-11-16 15:12:19 -05:00
Tim Graham
c0c7bda525
[2.1.x] Removed release date for 2.0.10 and 1.11.17.
...
Backport of 97cec6f75d
from master.
2018-11-16 09:34:39 -05:00
Prabakaran Kumaresshan
24a85f44c2
[2.1.x] Fixed #29864 -- Added link targets for low-level cache API.
...
Backport of 8250538bfc
from master.
2018-11-15 18:46:27 -05:00
Mathew Payne
2128c508a2
[2.1.x] Fixed #29952 -- Lowercased all passwords in contrib.auth's auth/common-passwords.txt.gz.
...
Backport of 26bb2611a5
from master.
2018-11-15 14:11:24 -05:00
Daniel Musketa
793e26bc4f
[2.1.x] Fixed typo in docs/ref/middleware.txt.
...
Backport of ca2856fb62
from master.
2018-11-14 09:48:06 -05:00
Katie McLaughlin
353afec70d
[2.1.x] Fixed #29940 -- Recommended using the ORM rather than raw SQL.
...
Backport of 9886dffdf4
from master.
2018-11-13 18:15:35 -05:00
Tobias Bengfort
b2ede89337
[2.1.x] Doc'd PermissionsMixin's usage of User.is_active and is_superuser.
...
Backport of b1243a55a5
from master.
2018-11-12 10:44:43 -05:00
Sergey Fedoseev
ae35cd3dcb
[2.1.x] Corrected docs regarding RegisterLookupMixin subclasses.
...
Backport of d48662122c
from master.
2018-11-12 10:20:50 -05:00
Mads Jensen
747253ce84
[2.1.x] Updated some links to https and new locations.
...
Backport of 961f8e9985
from master.
2018-11-10 17:41:02 -05:00
Tim Graham
da84fbfcb5
[2.1.x] Removed dead links to botbot.me.
...
Backport of d293d68f6a
from master.
2018-11-10 17:25:47 -05:00
Tom Forbes
497d825dde
[2.1.x] Removed obsolete and flaky GeoIP tests.
...
Backport of 8f90593e6f
from master.
2018-11-10 08:22:56 -05:00
Tim Graham
8bc244bd57
[2.1.x] Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt.
...
Regression in b47552b445
.
Backport of 0b98e8fdad
from master.
2018-11-09 19:50:24 -05:00
minusf
5d0de5852a
[2.1.x] Fixed signing.dumps() example for Python 3.
...
Backport of 545dae24fd
from master
2018-11-09 07:27:03 -05:00
mentix02
ec28343628
[2.1.x] Fixed #29933 -- Fixed typo in docs/intro/contributing.txt.
...
Backport of 413583e2e2
from master.
2018-11-08 17:12:31 -05:00
Tobias Bengfort
bd375f503e
[2.1.x] Fixed inconsistent indentation in docs/ref/contrib/auth.txt.
...
Backport of 9a63d840ff
from master.
2018-11-03 11:07:58 -04:00
Mice Pápai
394af709db
[2.1.x] Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
...
Backport of 5a2dd5ec53
from master
2018-11-02 16:00:26 +01:00
Carlton Gibson
28702011a0
[2.1.x] Updated expected date for 2.1.4 release.
...
Backport of 7e5cb46330
from master
2018-11-01 16:19:49 +01:00
Theofanis Despoudis
082833c969
[2.1.x] Fixed #27994 -- Documented ManifestFilesMixin.
...
Backport of 084536a9be
from master.
2018-11-01 11:15:31 -04:00
Carlton Gibson
2b263ed6be
[2.1.x] Added stub release notes for 2.1.4 release.
...
Backport of 74ddd0e83b
from master
2018-11-01 15:48:54 +01:00
Carlton Gibson
78cff67005
[2.1.x] Post-release version bump.
2018-11-01 15:45:51 +01:00
Carlton Gibson
d6226e3a82
[2.1.x] Bumped version for 2.1.3 release.
2018-11-01 15:07:09 +01:00
Carlton Gibson
6117367f0a
[2.1.x] Added release date for 2.1.3 release.
...
Backport of eb13e6cb9a
from master
2018-11-01 15:03:36 +01:00
Tim Graham
1df26757dd
[2.1.x] Fixed #22390 -- Doc'd possible server restart required in tutorial 6.
...
Backport of d8f83531c2
from master.
2018-10-31 20:50:28 -04:00
Tim Graham
cd7d6c8af7
[2.1.x] Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to create the same directory.
...
Regression in 632c4ffd9c
.
Backport of 98ef3829e9
from master.
2018-10-31 20:24:16 -04:00
Tim Graham
0f02d71995
[2.1.x] Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for foreign keys that use to_field.
...
Regression in ee49306176
.
Backport of f77fc56c96
from master.
2018-10-28 22:54:19 -04:00
Sergey Fedoseev
69603b3e71
[2.1.x] Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.
...
Regression in e1253bc26f
.
Backport of 9a88c6dd6a
from master.
2018-10-25 19:38:00 -04:00
Mayank Singhal
4529287af2
[2.1.x] Fixed #29879 -- Added CSRF_COOKIE_HTTPONLY to CSRF AJAX docs.
...
Backport of 76b3367035
from master
2018-10-25 12:07:38 -04:00
Mariusz Felisiak
81530222c8
[2.1.x] Fixed F841 flake8 warning.
...
Backport of 641742528a
from master.
2018-10-24 09:28:25 -04:00