10010 Commits

Author SHA1 Message Date
Tim Graham
2e5be68b9c [1.11.x] Added release date for 1.11.9.
Backport of 3ae2bcc7689bb912399c08329d2baa4b5d8bd6b2 from master
2018-01-01 19:35:33 -05:00
Morgan Wahl
3522203502 [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-07 09:34:54 -05:00
Mariusz Felisiak
1decd0197d [1.11.x] Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of fc48047586a8f92262f55d9d2bfb976325844b23 from master
2017-12-05 22:52:42 +01:00
Mariusz Felisiak
3e52fd7595 [1.11.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of f79d9a322c6008e5fada1453aebfb56afc316cc8 from master
2017-12-05 22:42:58 +01:00
Nick Pope
47681af344 [1.11.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-12-05 11:44:39 -05:00
Tim Graham
9ca5ff7996 [1.11.x] Added stub release notes for 1.11.9.
Backport of dfeb19121b40cadd22b81c4b9d0373d617a695ed from master
2017-12-05 10:55:45 -05:00
Sergey Fedoseev
9a64da9399 [1.11.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 3922f02dc6b10a3268a710a2837027d3999957a3 from master
2017-12-04 12:00:34 +01:00
Tim Graham
cd91f4fe62 [1.11.x] Added release date for 1.11.8.
Backport of 335aad5d9170b3e3807ebd35a7dd74800df03588 from master
2017-12-02 08:56:32 -05:00
Tim Graham
b8a2f3c2d6 [1.11.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.

Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
2017-12-01 19:09:36 -05:00
Simon Charette
f319e7abad [1.11.x] Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.

Backport of d31424fec1a3de9d281535c0503644a9d7b93c63 from stable/2.0.x
2017-11-30 10:45:20 -05:00
Mads Jensen
3545e84488 [1.11.x] Fixed #28702 -- Made query lookups for CIText fields use citext.
Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
2017-11-29 11:12:07 -05:00
Raphael Michel
899999db42 [1.11.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last.
Backport of 616f468760e4984915bb2ccca6b9eb3d80ddadb0 from master
2017-11-27 11:40:09 -05:00
Luke Plant
a09e974688 [1.11.x] Linked to prefetch_related_objects func in DB optimization docs.
Backport of e283c1a from master
2017-11-23 21:36:38 +03:00
Hyunwoo Park
be45c90ce3 [1.11.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 3f237c1a5b936a9b85304cffbf3343f491e395d6 from master
2017-11-22 07:48:18 -05:00
Dražen Odobašić
7f4e174511 [1.11.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
Backport of d97f026a7ab5212192426e45121f7a52751a2044 from master
2017-11-21 10:45:02 -05:00
Tim Graham
18324f2e65 [1.11.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
2017-11-16 10:38:58 -05:00
Simon Charette
a35ab95ed4 [1.11.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.

Thanks Tim and Mariusz for the review.

Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
2017-11-14 22:06:30 -05:00
Tim Graham
afcde50497 [1.11.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
Backport of bc95314ca6af0b5e993ae07fdc7d8e6166d3b8ca from master
2017-11-14 13:01:06 -05:00
Mariusz Felisiak
6731672060
[1.11.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-11-12 14:33:41 +01:00
shanghui
308f644624 [1.11.x] Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
Regression in e0a3d937309a82b8beea8f41b17d8b6298da2a86.

Thanks Guilherme Junqueira for the report and Tim Graham for the review.

Backport of 359370a8b8ca0efe99b1d4630b291ec060b69225 from master
2017-11-08 09:52:27 -05:00
Tim Graham
d9b457d906 [1.11.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 00b93c2b1ecdda978f067309c6feafda633a7264 from master
2017-11-07 09:03:35 -05:00
Tim Graham
d464f6b762 [1.11.x] Added stub release notes for 1.11.8.
Backport of ef718a72b3db81d35a6c1273b1565b48dd867e90 from master
2017-11-01 21:37:55 -04:00
Tim Graham
124929999d [1.11.x] Added release date for 1.11.7.
Backport of 5f5425f74e57aa3caff056082a8899c0fdedb07e from master
2017-11-01 21:13:37 -04:00
Mariusz Felisiak
11f6d43566 [1.11.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef.
Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3.

Backport of 81e357a7e19f35235cc998459a10213532727d4e from master
2017-10-25 22:00:19 +02:00
Tomer Chachamu
e98ae4fe6b [1.11.x] Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last.
Backport of 21a3a29dc9d138c248fd7922923b3ec710735c6c from master
2017-10-21 21:03:52 -04:00
Tim Graham
b0566e5bb3 [1.11.x] Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
Backport of eb9b56c5b60215a683c80e68f08ae6fca0ec24ef from master
2017-10-20 14:04:15 -04:00
Jozef
0f9de3976c [1.11.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master
2017-10-17 10:07:43 -04:00
Claude Paroz
50bbc93ccb [1.11.x] Fixed #28710 -- Fixed the Basque DATE_FORMAT string
Thanks Eneko Illarramendi for the report and initial patch.
Backport of 8c538871bda3832bca2dddefe317bf4a9230dd45 from master.
2017-10-13 19:52:22 +02:00
Daniel Tao
45b0ec87d3 [1.11.x] Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None.
Backport of 4d60261b2a77460b4c127c3d832518b95e11a0ac from master
2017-10-10 09:35:57 -04:00
Tim Graham
9b8e76f96d [1.11.x] Added stub release notes for 1.11.7.
Backport of fd4698fe3f2a1cfe9deef83a95db725e5cb66f21 from master
2017-10-05 14:49:50 -04:00
Tim Graham
c3ea1e4145 [1.11.x] Added release date for 1.11.6.
Backport of a8bcb8b509629bc843c4da231955d8c5ef786edd from master
2017-10-05 14:14:32 -04:00
Stefan Schneider
251190cc59 [1.11.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
Backport of 08c8c3ead97893ec0e1dece699525ad7ed27c2d7 from master
2017-09-29 11:38:47 -04:00
Stefan Schneider
e8a82e82c1 [1.11.x] Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt.
Backport of 293df73fb67a56c0417af8c39f808f64bc03cbeb from master
2017-09-29 10:32:12 -04:00
Florian Apolloner
42847327d1 [1.11.x] Fixed #28488 -- Reallowed error handlers to access CSRF tokens.
Regression in eef95ea96faef0b7dbbe0c8092202b74f68a899b.

Backport of c4c128d67c7dc2830631c6859a204c9d259f1fb1 from master
2017-09-20 16:32:24 -04:00
tk
979d2ebea6 [1.11.x] Fixed typo in docs/topics/cache.txt.
Backport of e7adad27f30396823f3609fcb8699cefb25278bb from master
2017-09-19 06:52:28 -04:00
Mariusz Felisiak
cee07ba088 [1.11.x] Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary key in an Index's fields.
Backport of fb02ebe889eee292144f9157ed4ddcdcc139eba9 from master
2017-09-18 14:22:33 -04:00
Tim Graham
a86d95726b [1.11.x] Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins.
As of ccbba98131ace3beb43790c65e8f4eee94e9631c, both examples don't use
a join.

Backport of 44a6c27fd461e1d2f37388c26c629f8f170e8722 from master
2017-09-06 19:22:00 -04:00
Josh Schneier
1d1a56c599 [1.11.x] Fixed #28555 -- Made CharField convert whitespace-only values to the empty_value when strip is enabled.
Backport of 48c394a6fc2594891f766293afec8f86d63e1015 from master
2017-09-05 16:42:15 -04:00
Tim Graham
312050df82 [1.11.x] Added stub release notes for 1.11.6.
Backport of 1b86088f6f92d9c937b24f063141d0b8bfb39969 from master
2017-09-05 16:14:16 -04:00
Tim Graham
c69051894c [1.11.x] Added 2017-12794 to the security release archive.
Backport of 79ae5811c7b06b6462f9411b6665241a4e98bedb from master
2017-09-05 12:33:20 -04:00
Tim Graham
e35a0c5608 [1.11.x] Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of technical 500 debug page.
This is a security fix.
2017-09-05 11:05:43 -04:00
Tim Graham
56c445295d [1.11.x] Added stub release notes for security releases. 2017-09-05 11:05:43 -04:00
Jonatas CD
0221039309 [1.11.x] Fixed #28479 -- Doc'd that transaction rollback doesn't revert model state.
Backport of c9b22707b0703db6c6ddaebdd00e2cd33d182e40 from master
2017-09-04 15:43:42 -04:00
Michael
ddea2166f1 [1.11.x] Fixed #28568 -- Fixed typo in docs/ref/models/database-functions.txt.
And made an example use naming consistent with the rest of the doc.

Backport of 3f2b1d926bb3a72b4c3d2cd958455ebb9b4ca458 from master
2017-09-04 14:41:17 -04:00
Berker Peksag
1db5e687a7 [1.11.x] Fixed typo in docs/releases/1.10.txt.
Backport of d81c86d32c6b716e49288c22c80ceb6ee924531f from master
2017-09-04 08:40:25 -04:00
Zach Liu
f8e0557b01 [1.11.x] Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect of positional arguments.
Regression in 78963495d0caadb77eb97ccf319ef0ba3b204fb5.
2017-09-03 12:05:18 -04:00
jkrzy
f9db06cf08 [1.11.x] Fixed #28367 -- Doc'd how to override management commands.
Backport of 48d92fea672928b4571ddaab03667e74671391c0 from master
2017-09-02 16:39:07 -04:00
Jeremy Satterfield
e921e98387 [1.11.x] Fixed #28332 -- Fixed diamond inheritence example in docs.
Backport of 473ab4610ef90be05f09127aa37cd20bcda5875e from master
2017-09-02 14:33:19 -04:00
Simon Meers
07f73daf6b [1.11.x] Fixed #17985 -- Documented ModelAdmin.lookup_allowed().
Backport of 60443e84b38ea3a143b0ef9c05b1e1f39d91ddb5 from master
2017-09-02 14:09:49 -04:00
Nick Pope
1739ef7855 [1.11.x] Fixed #28525 -- Documented GDAL and GeoIP exceptions.
Backport of 11f4c52ec74ea5244bc5988f37cbfdce2586b642 from master
2017-09-02 09:27:19 -04:00