Sergey Fedoseev
86f0779d09
[2.1.x] Corrected output of Prefetch.to_attr example.
...
Backport of ba7a420012
from master.
2019-01-31 09:09:48 -05:00
MaximZemskov
3df13847d5
[2.1.x] Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
...
Restored backwards compatibility after refs #27991 .
Regression in be6ca89396
.
Backport of 3c01fe30f3
from master.
2019-01-11 18:03:23 -05:00
Tim Graham
7470595459
[2.1.x] Added stub 2.1.6 release notes.
...
Backport of 36fceeec88
from master.
2019-01-08 08:57:48 -05:00
Tim Graham
ee1cad4908
[2.1.x] Added CVE-2019-3498 to the security release archive.
...
Backport of 162ae9c914
from master.
2019-01-04 09:25:20 -05:00
Tom Hacohen
64d2396e83
[2.1.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 21:22:14 -05:00
Jozef
fcb4d4dd9d
[2.1.x] Fixed typo in docs/ref/migration-operations.txt.
...
Backport of 5bbf31634f
from master.
2019-01-02 17:56:41 -05:00
Tim Graham
4e4b952123
[2.1.x] Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
...
Thanks andreage for the report and suggested fix.
Backport of 02c07be95c
from master.
2019-01-01 09:53:28 -05:00
Adam Johnson
65ccb1b7e4
[2.1.x] Added examples to HttpRequest.build_absolute_uri() docs.
...
Backport of b71e3d635a
from master.
2018-12-29 19:45:01 -05:00
Vedran Karačić
400dac7b69
[2.1.x] Updated OWASP Top 10 link to the latest version.
...
Backport of 293db9eb36
from master.
2018-12-27 10:04:41 -05:00
CHI Cheng
6f4130f358
[2.1.x] Fixed broken links to PyYAML page.
...
Backport of b7dbd5ff68
from master.
2018-12-27 10:49:57 +01:00
Marten Kenbeek
a79789e232
[2.1.x] Added import locations to contrib.postgres aggregates and validators docs.
...
Backport of 7a6dbbb655
from master.
2018-12-24 16:36:14 -05:00
Konstantin Alekseev
08f78a4fc8
[2.1.x] Fixed #30015 -- Ensured request body is properly consumed for keep-alive connections.
...
Backport of b514dc14f4
and
bbe28fa076
from master.
2018-12-20 22:17:21 -05:00
Simon Charette
7cf9d15cf8
[2.1.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:01:35 -05:00
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
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
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
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
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
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
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
Jon Dufresne
8a348c5fd0
[2.1.x] Refs #29877 -- Made diveinto.org URLs HTTPS.
...
Backport of 136a900ef9
from master
2018-10-23 15:03:40 +02:00
za
fbd95ce9bb
[2.1.x] Fixed #29877 -- Replaced diveintopython3.net with diveinto.org/python3/.
...
Backport of b0d716cbff
from master
2018-10-23 11:56:41 +02:00
Tim Graham
54732e2891
[2.1.x] Fixed #29880 -- Fixed typo in docs/topics/auth/default.txt.
...
Backport of 043407ec7e
from master.
2018-10-22 15:19:53 -04:00
Atul Varma
021f67be4b
[2.1.x] Removed "encoding" description in GIS tutorial.
...
An omission in 388165ade4
.
Backport of 3deea61f26
from master
2018-10-21 12:14:57 -04:00
Adam Allred
0d5d8ed322
[2.1.x] Fixed #29774 -- Fixed django-admin shell hang on startup.
...
sys.stdin.read() blocks waiting for EOF in shell.py which will
likely never come if the user provides input on stdin via the
keyboard before the shell starts. Added check for a tty to
skip reading stdin if it's not present.
This still allows piping of code into the shell (which should
have no TTY and should have an EOF) but also doesn't cause it
to hang if multi-line input is provided.
Backport of 4e78e389b1
from master.
2018-10-19 20:45:55 -04:00
Tim Graham
4acdba42a6
[2.1.x] Fixed #29858 -- Clarified docs regarding CSRF token header name.
...
Backport of a29fce8984
from master.
2018-10-19 19:35:25 -04:00
Andy Chosak
822f111b86
[2.1.x] Updated Jinja2 static tag example to use django.templatetags.
...
As of cf546e11ac
, this is the
canonical way to invoke the static tag.
Backport of 084573c715
from master.
2018-10-18 19:20:15 -04:00
Tim Graham
9982babbf9
[2.1.x] Replaced CVE/ticket roles with extlinks.
...
Backport of 44f98f7880
from master.
2018-10-17 12:05:50 -04:00
aspalding
0df7ea1b87
[2.1.x] Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and lists.
...
Regression in fc6528b25a
.
Backport of 834c4ec8e4
,
217f82d713
, and
dc5e75d419
from master.
2018-10-17 11:40:02 -04:00
Tom Dyson
0f611fb1fa
[2.1.x] Removed obsolete "ugly URL" reference.
...
Backport of 6752c2756e
from master.
2018-10-17 10:21:12 -04:00
Çağıl
554fd6cd76
[2.1.x] Added a paragraph in docs/intro/contributing.txt.
...
Backport of 38f3de86bd
from master.
2018-10-16 16:11:13 -04:00
Peter Inglesby
1996889522
[2.1.x] Removed unused fields from aggregation docs.
...
Backport of a1ffbfb801
from master
2018-10-13 21:14:14 -04:00
Adam Johnson
4d7fbbdd7d
[2.1.x] Simplified deployment checklist docs on customizing error views.
...
Backport of cecd656184
from master.
2018-10-11 10:26:03 -04:00
Andrea Rabbaglietti
b9b284831a
[2.1.x] Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.
...
Backport of 1b49b792e9
from master.
2018-10-10 14:57:01 -04:00
Kate Berry
8985759f72
[2.1.x] Improved tone in docs/ref/settings.txt.
...
Backport of b8b1d8cad6
from master.
2018-10-09 20:53:53 -04:00
Jon Dufresne
6cb5285f29
[2.1.x] Refs #29784 -- Switched to https:// links where available.
...
Backport of 82f286cf6f
from master.
2018-10-09 20:52:43 -04:00
Jon Dufresne
ec0803b1be
[2.1.x] Capitalized "Python" in docs and comments.
...
Backport of e90af8bad4
from master.
2018-10-09 20:50:31 -04:00
Jon Dufresne
d1b25a64c2
[2.1.x] Refs #27778 -- Removed "The database API" section from "Unicode data" docs.
...
Support for passing bytestrings to the database API was removed in
301de774c2
.
Backport of f5d9ee11a2
from master
2018-10-04 09:40:43 -04:00
ovalseven8
9e5f4bcedb
[2.1.x] Clarified when QuerySet.select_for_update() locks.
...
Backport of d093e01ec0
from master.
2018-10-03 15:35:20 -04:00
Adam Johnson
173e242d71
[2.1.x] Fixed #28034 -- Updated the contributing tutorial to use an imaginary ticket.
...
Backport of 18e4ade79e
from master.
2018-10-03 15:09:47 -04:00
Jon Dufresne
490f4fa574
[2.1.x] Corrected docs to say that all templates are text strings.
...
Support for bytestring templates was removed in
3a148f958d
.
Backport of 3212008ba6
from master
2018-10-03 10:06:32 +02:00
Tim Graham
95c2ce678f
[2.1.x] Removed docs for obsolete limitations of inspectdb.
...
Backport of 31edb106b5
from master.
2018-10-02 13:29:32 -04:00
Tim Graham
39fd80470c
[2.1.x] Fixed crash building translated docs since Sphinx 1.8.
...
Backport of 7206601040
from master.
2018-10-01 20:44:57 -04:00
Cammil Taank
cd9391ca3d
[2.1.x] Fixed #29758 -- Documented how to test custom error views.
...
Backport of f83a689f61
from master
2018-10-01 18:39:11 -04:00
Jon Dufresne
d95d7d6896
[2.1.x] Added tests for using bytearray with BinaryField and corrected docs.
...
Backport of b3b47bf515
from master.
2018-10-01 09:16:47 -04:00
Carlton Gibson
4a7ea6ba58
[2.1.x] Adjusted text for CVE-2018-16984 in security release archive.
...
Backport of 92ccc39170
from master
2018-10-01 15:05:28 +02:00
Carlton Gibson
8fb3c2fe2a
[2.1.x] Added CVE-2018-16984 to the security release archive.
...
Backport of 0b3b7c4b0a
from master
2018-10-01 12:01:22 +02:00
Carlton Gibson
d53e91d43d
[2.1.x] Added stub release notes for 2.1.3 release.
...
Backport of dc28c0faf3
from master
2018-10-01 12:01:12 +02:00
Carlton Gibson
5da80967bc
[2.1.x] Added stub release notes for 2.0.10 release.
...
Backport of 2e86710dac
from master
2018-10-01 12:01:01 +02:00
Carlton Gibson
ceac3aac59
[2.1.x] Added stub release notes for 1.11.17 release.
...
Backport of 7040e638b9
from master
2018-10-01 12:00:48 +02:00
Carlton Gibson
b493e8f4f9
[2.1.x] Added release date for 2.1.2 release.
...
Backport of fb7fd884a1
from master
2018-10-01 10:16:48 +02:00
Tim Graham
176d20b92a
[2.1.x] Fixed #29809 -- Fixed a crash when a "view only" user POSTs to the admin user change form.
...
Backport of a7284cc0c3
from master
2018-10-01 10:16:15 +02:00
Carlton Gibson
c4bd5b597e
Fixed CVE-2018-16984 -- Fixed password hash disclosure to admin "view only" users.
...
Thanks Claude Paroz & Tim Graham for collaborating on the patch.
# Conflicts:
# tests/auth_tests/test_views.py
2018-10-01 10:15:50 +02:00
Carlton Gibson
f86100ab18
[2.1.x] Added release date for 2.0.9 release.
...
Backport of a4932be483
from master
2018-10-01 09:56:20 +02:00
Carlton Gibson
991f75fb0a
[2.1.x] Added release date for 1.11.16.
...
Backport of d37ed40048
from master
2018-10-01 09:35:26 +02:00
Claude Paroz
d5ed08263b
[2.1.x] Updated translations from Transifex
2018-09-29 16:03:27 +02:00
Jon Dufresne
a6e7ebf4ee
[2.1.x] Added test of filtering on BinaryField and corrected docs.
...
Backport of fb2964a410
from master.
2018-09-26 15:07:06 -04:00
Stephen James
f5335bc745
[2.1.x] Fixed #29683 -- Added view permission to docs.
...
Backport of e40e7026ca
from master.
2018-09-26 15:06:57 -04:00
Mariusz Felisiak
5aeced6dcd
[2.1.x] Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the same name on Oracle 12.1.
...
Regression in 0899d583bd
.
Thanks Tim Graham for the review and Jani Tiainen for help.
Backport of 024abe5b82
from master
2018-09-26 20:24:20 +02:00
Sergey Fedoseev
5082108559
[2.1.x] Fixed #29795 -- Confirmed support for PostGIS 2.5.
...
Backport of 51da347c32
from master.
2018-09-26 13:37:12 -04:00
Oleg
cdb8ee741d
[2.1.x] Fixed #29778 -- Fixed quoting of unique index names.
...
Regression in 3b429c9673
.
Backport of d1d5c97bc2
from master.
2018-09-25 16:10:47 -04:00
Jon Dufresne
f53ed7846b
[2.1.x] Refs #29784 -- Normalized Python docs links to omit the version.
...
Backport of ad9a28ee38
from master.
2018-09-25 10:22:06 +02:00
Jon Dufresne
c6d147bed8
[2.1.x] Refs #29784 -- Changed Python f-string link to use intersphinx.
...
Backport of 3a3d159ab6
from master.
2018-09-25 10:21:36 +02:00
Thomas Grainger
1d9725504c
[2.1.x] Updated contributing tutorial's virtual environment instructions.
...
Backport of c99d379f53
from master
2018-09-19 15:04:53 -04:00
Tim Graham
322b70f605
[2.1.x] Fixed typo in docs/releases/2.1.txt.
...
Backport of 0192e9a976
from master
2018-09-18 15:47:07 -04:00
Adam Johnson
7b0da16725
[2.1.x] Made various edits to docs/ref/utils.txt.
...
Backport of beffa061eb
from master
2018-09-18 11:43:16 -04:00