1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00
Commit Graph

10008 Commits

Author SHA1 Message Date
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 fc48047586 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 f79d9a322c 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 b52c73008a.

Backport of e014f91a70 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 dfeb19121b 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 3922f02dc6 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 335aad5d91 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 45ded053b1.

Backport of c3e0adcad8 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 b9f8635f58.

Backport of d31424fec1 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 f0a68c2511 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 616f468760 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 3f237c1a5b 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 d97f026a7a 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 d392fc293c 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 ee85ef8315 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 bc95314ca6 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 2d3cc94284 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 e0a3d93730.

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

Backport of 359370a8b8 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 00b93c2b1e 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 ef718a72b3 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 5f5425f74e 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 f48bc7c3db.

Backport of 81e357a7e1 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 21a3a29dc9 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 eb9b56c5b6 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 3bd69b1261 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 8c538871bd 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 4d60261b2a 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 fd4698fe3f 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 a8bcb8b509 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 08c8c3ead9 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 293df73fb6 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 eef95ea96f.

Backport of c4c128d67c from master
2017-09-20 16:32:24 -04:00
tk
979d2ebea6 [1.11.x] Fixed typo in docs/topics/cache.txt.
Backport of e7adad27f3 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 fb02ebe889 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 ccbba98131, both examples don't use
a join.

Backport of 44a6c27fd4 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 48c394a6fc 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 1b86088f6f 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 79ae5811c7 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 c9b22707b0 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 3f2b1d926b 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 d81c86d32c 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 78963495d0.
2017-09-03 12:05:18 -04:00
jkrzy
f9db06cf08 [1.11.x] Fixed #28367 -- Doc'd how to override management commands.
Backport of 48d92fea67 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 473ab4610e from master
2017-09-02 14:33:19 -04:00
Simon Meers
07f73daf6b [1.11.x] Fixed #17985 -- Documented ModelAdmin.lookup_allowed().
Backport of 60443e84b3 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 11f4c52ec7 from master
2017-09-02 09:27:19 -04:00
Berker Peksag
b9436d1ba8 [1.11.x] Fixed typos in docs/releases/1.10.txt.
Backport of 90fcf0fce7 from master
2017-09-02 09:09:28 -04:00
Tim Graham
d236f30237 [1.11.x] Fixed #28557 -- Fixed ForeignKey/OneToOneField/ManyToManyField argument name in docs.
Backport of 6e4a34580d from master
2017-09-01 21:44:06 -04:00