Simon Charette
d31424fec1
[2.0.x] Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
...
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.
Modified backport of e50add6ca1605dcc06c8c5a5770342779a4d5124 from master
2017-11-30 10:43:38 -05:00
Mads Jensen
4d3b8e199e
[2.0.x] Fixed #28702 -- Made query lookups for CIText fields use citext.
...
Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
2017-11-29 10:40:01 -05:00
Raphael Michel
75c1fd6538
[2.0.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:39:57 -05:00
Luke Plant
a11b610325
[2.0.x] Linked to prefetch_related_objects func in DB optimization docs.
...
Backport of e283c1a from master
2017-11-23 21:33:08 +03:00
Hyunwoo Park
4091a07f77
[2.0.x] Fixed typo in docs/topics/forms/media.txt.
...
Backport of 3f237c1a5b936a9b85304cffbf3343f491e395d6 from master
2017-11-22 07:48:08 -05:00
Frédéric Massart
427a8b4485
[2.0.x] Clarified who the AdminEmailHandler emails.
...
Backport of a5f1e5809f26d93ea0c6010bb44895b3d1992089 from master
2017-11-21 12:05:49 -05:00
Dražen Odobašić
286120444f
[2.0.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
...
Backport of d97f026a7ab5212192426e45121f7a52751a2044 from master
2017-11-21 10:38:14 -05:00
Benjamin Bach
385e06d8c0
[2.0.x] Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt.
...
Backport of bf49d9eb0b33aefc7179d3843fad0cb7df4e7790 from master
2017-11-17 17:30:37 -05:00
Tim Graham
2b3907cf74
[2.0.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
...
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
2017-11-16 10:38:48 -05:00
Tim Graham
0f7b5b38b6
[2.0.x] Fixed #28796 -- Doc'd backwards incompatibility when reverse() receives bytestring args/kwargs.
...
Due to 301de774c21d055e9e5a7073e5bffdb52bc71079.
Backport of 6bf85ff7e3b837378589e449ba27be8971d9b14c from master
2017-11-16 09:29:50 -05:00
Simon Charette
0696edbc6a
[2.0.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-15 07:58:36 -05:00
Tim Graham
3f372ef9d3
[2.0.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
...
Backport of bc95314ca6af0b5e993ae07fdc7d8e6166d3b8ca from master
2017-11-14 12:57:18 -05:00
Mariusz Felisiak
ca0a9c938f
[2.0.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:31:21 +01:00
Tim Graham
3c8c3ff637
[2.0.x] Fixed #28777 -- Clarified the docs for admin.register's args.
...
Backport of abaf0ab4a444977dc8ac07b9b63256814c352245 from master
2017-11-09 21:22:03 -05:00
shanghui
36dd0126a5
[2.0.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:45:35 -05:00
Tim Graham
c869207ea2
[2.0.x] Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
Backport of 327f0f37ce3c1e5ac3a19668add237ddd92266d6 from master
2017-11-07 13:07:29 -05:00
Chris Lamb
518c11352c
[2.0.x] Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
...
Backport of 998c9dd599cd907bb38f440fff13a808571589f8 from master
2017-11-07 11:40:17 -05:00
Tim Graham
72f875541a
[2.0.x] Fixed typo in docs/topics/db/aggregation.txt.
...
Backport of 00b93c2b1ecdda978f067309c6feafda633a7264 from master
2017-11-07 09:03:26 -05:00
Дилян Палаузов
e68baf3862
[2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments.
...
Backport of 6c0042430e3618ce5c276d195d92a6b884daa3a3 from master
2017-11-06 22:41:23 -05:00
Tim Graham
bcaef2c91d
[2.0.x] Fixed #28765 -- Clarified docs about what types the __in lookup accepts.
...
Backport of 5587485d49af8b32ab660854f751a234baa6610b from master
2017-11-06 13:12:56 -05:00
Sergey Fedoseev
a44fb4aa02
[2.0.x] Fixed #28632 -- Updated docs about using raw SQL with GIS and doc'd changes from refs #28518 in release notes.
...
Backport of 8869142a4d5b069c61781c0e4c5fdc971b017949 from master
2017-11-04 10:56:38 -04:00
Tim Graham
8c7dac6545
[2.0.x] Added stub release notes for 1.11.8.
...
Backport of ef718a72b3db81d35a6c1273b1565b48dd867e90 from master
2017-11-01 21:36:53 -04:00
Tim Graham
b9370ed683
[2.0.x] Added release date for 1.11.7.
...
Backport of 5f5425f74e57aa3caff056082a8899c0fdedb07e from master
2017-11-01 21:13:29 -04:00
Tim Graham
2d2b49ed0a
[2.0.x] Fixed #28759 -- Promoted the contributing guide in the docs for the django-developers mailing list.
...
Backport of c70086473e48df2989f27e0cd03533725dc94cfe from master
2017-11-01 20:39:28 -04:00
Sam Morrow
c9ce52820a
[2.0.x] Fixed #28745 -- Added first and last page links to paginator docs example.
...
Backport of dcc0427c58df19863e260de13b7a86a3648d57e9 from master
2017-11-01 20:23:21 -04:00
Tim Graham
29c97fa6b7
[2.0.x] Described how querysets are protected from SQL injection in more detail.
...
Backport of 6e8508734b070b30db9259b64bb748fb2a5a1bfb from master
2017-11-01 11:53:15 -04:00
Tim Graham
7d3c02a214
[2.0.x] Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
...
Thanks Hynek Cernoch for the report and review.
Backport of 1e7dbbdec5ca2bd236b8ab64fa172a8fc0abcb1e from master
2017-11-01 11:53:07 -04:00
Adam Johnson
b40983a655
[2.0.x] Made assorted edits to docs/releases/2.0.txt.
...
Backport of 629dde8db10bb830e88e01aa85eef81d6f81672f from master
2017-11-01 11:22:55 -04:00
Tim Graham
f1efedf01a
[2.0.x] Refs #23919 -- Replaced doc references to django.utils.http.urlquote() and urlquote_plus() with standard library alternatives.
...
Follow up to fee42fd99ee470528858c2ccb3621135c30ec262.
Backport of 7945bc1d08f7c8fd8f25eed0327e71dca81975e4 from master
2017-11-01 11:11:48 -04:00
Tim Graham
cd37e47096
[2.0.x] Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
...
Backport of afd375fc343baa46e61036087bc43b3d096bb0ca from master
2017-11-01 11:06:56 -04:00
Ville Skyttä
8a6392e4c6
[2.0.x] Fixed 'a'/'an' mix-ups in docs.
...
Backport of 617686e226231fe8ad3f2e49d3efabf6f5f434d3 from master
2017-10-30 21:47:27 -04:00
Adam Johnson
1f4e9935ef
[2.0.x] Removed docs for obsolete compatibility checks.
...
Backport of f8946fbb5d7e8eb6c8ca7481b0cd4e78627ef8cf from master
2017-10-30 12:42:47 -04:00
Ran Benita
6b5f2e3b79
[2.0.x] Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE .. OF.
...
Thanks Adam Chidlow for polishing the patch.
Backport of 03049fb8d96ccd1f1ed0285486103542de42faba from master
2017-10-28 21:42:51 -04:00
Botond Beres
5630f4e6ac
[2.0.x] Fixed #28205 -- Doc'd that ModelAdmin.prepopulated_fields only works on add forms.
...
Backport of 56b364bacca0d6a6cd8fbcd93aeb49f3ad46e58c from master
2017-10-28 13:28:46 -04:00
Botond Beres
41009788a0
[2.0.x] Fixed #28131 -- Corrected examples of using attribute lookups on the "perms" template variable.
...
Backport of 51d7feff872e74d5a53479f62163d5e0024b00ed from master
2017-10-28 12:41:01 -04:00
Samir Shah
791f7aa110
[2.0.x] Refs #21927 -- Removed docs for include()'s old instance_namespace parameter.
...
Follow up to ad393beeb71e8774e4bf9ad842b97022e50f1231.
Backport of 6c98c5abdfb8572936992b5395aab001aeb245f2 from master
2017-10-28 07:49:25 -04:00
Botond Beres
0eccbd2a8e
[2.0.x] Fixed typo in docs/ref/models/querysets.txt.
...
Backport of ec5f7cb92e315846cb020b909b0ab7e0489aad05 from master
2017-10-25 19:03:58 -04:00
Botond Beres
854aec4801
[2.0.x] Fixed #28395 -- Doc'd that QuerySet.first() can affect aggregation queries.
...
Backport of 95a14cfc47de5762ddb1400e6e5152f9e3172657 from master
2017-10-25 19:02:21 -04:00
Mariusz Felisiak
f5184ae5dc
[2.0.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef.
...
Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3.
Backport of 81e357a7e19f35235cc998459a10213532727d4e from master
2017-10-25 17:25:45 -04:00
Tim Graham
01987bc0b4
[2.0.x] Fixed #28737 -- Clarified {% cache %} tag's handling of arguments.
...
Thanks Tom Aratyn for the report.
Backport of 171c7cc863eafc2346aa84ffd1d540644539f1a4 from master
2017-10-25 14:21:27 -04:00
Tim Graham
c4f518e484
[2.0.x] Suggested LoginView rather than @login_required as an alternative to authenticate().
...
Backport of 3642c3758b3426292e02fe4669cc2d2028a9ac8c from master
2017-10-25 12:02:12 -04:00
Tomer Chachamu
57d46606ed
[2.0.x] Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last.
...
Backport of 21a3a29dc9d138c248fd7922923b3ec710735c6c from master
2017-10-21 21:00:30 -04:00
Tim Graham
f9a01d40d5
[2.0.x] Fixed #28613 -- Doc'd the return value for GenericForeignKey when the related object is deleted.
...
Backport of 1a82fc245eb8ac4b131ec02a6ac3e112deb8d5a6 from master
2017-10-20 15:03:36 -04:00
Tim Graham
b952db6772
[2.0.x] Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
...
Backport of eb9b56c5b60215a683c80e68f08ae6fca0ec24ef from master
2017-10-20 14:03:47 -04:00
Collin Stedman
36b4def915
[2.0.x] Refs #19295 -- Doc'd that ManifestStaticFilesStorage doesn't work with runserver --insecure.
...
Backport of 4a861e88508eacdb8d0d5bc43f9a0576cedb9f22 from master
2017-10-18 21:10:18 -04:00
Jozef
8cef9a5799
[2.0.x] Fixed typo in docs/ref/models/querysets.txt.
...
Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master
2017-10-17 10:07:33 -04:00
Simon Willison
9a2c2b7a68
[2.0.x] Made SearchQuery examples less sterotyped.
...
Backport of 346eb328617ada9c65f5c9ded2e2914f3dcc04c9 from master
2017-10-17 09:59:01 -04:00
Simon Meers
c678ff91b1
[2.0.x] Fixed typos in docs/releases/2.0.txt.
...
Backport of f771b24f00c982f169821191bc0843d3f3ee1d5c from master
2017-10-17 08:02:42 -04:00
Claude Paroz
5595eccd4f
[2.0.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:50:18 +02:00
Mariusz Felisiak
8b42a18b2d
[2.0.x] Refs #28643 -- Reorganized database functions docs.
...
Thanks Tim Graham for the review.
Backport of ad8036d715d4447b95d485332511b4edb1a40c0e from master
2017-10-13 18:38:50 +02:00