Daniel Hepper
cc17f39c9c
[2.0.x] Fixed #28938 -- Corrected Python compatibility in the tutorial.
...
Backport of 4dcd7723d59a666ab8e6dc29b0cc6eb7f2658ec1 from master
2017-12-18 09:13:42 -10:00
Sergey Fedoseev
0f7ca1e878
[2.0.x] Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
...
This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds
a test for the regression.
Backport of 6fd6d8383f48ea2fe4e058725fa30529a083e9a5 from master
2017-12-12 22:01:25 -10:00
Rodrigo Pinheiro Marques de Araújo
9f39f202ab
[2.0.x] Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields.
...
Backport of 30a389bd7795016d7f48bcda997e5dea5116f9bb from master
2017-12-12 21:40:05 -10:00
Sergey Fedoseev
ce26ec0163
[2.0.x] Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
...
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188.
Backport of da71e4bb086593b5ca76bf698358d27ead2cfed2 from master
2017-12-12 17:15:29 -10:00
Morgan Wahl
5ca9cf47a7
[2.0.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
...
Forwardport of 35222035029863f95769e2e59beeeb953d125689 from stable/1.11.x
2017-12-08 14:00:50 -05:00
M Somerville
6dea1b18f3
[2.0.x] Fixed #28891 -- Documented Origin's loader attribute.
...
Backport of 16bd4964dfd75759cb3ec0c786e1b5dcc8296fd9 from master
2017-12-07 12:20:22 -05:00
Sam Collins
66ccb3acb9
[2.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
...
Backport of 2d75e74e18def5de8b23f88f4257f262f18fe1a9 from master
2017-12-07 10:53:07 -05:00
Tim Graham
a06828cd2e
[2.0.x] Reverted "[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI."
...
This reverts commit a2aea4521d5e3cf8c76ef17e6edafee1c87bbf0a as it was
committed by mistake.
2017-12-07 09:06:09 -05:00
Mohammad Esmaeilbeygi
6b01ff80b2
[2.0.x] Fixed import in docs/ref/models/conditional-expressions.txt example.
...
Backport of 9d1d0e2b702fe1a3f979a95bc4583f1a1691c74f from master
2017-12-07 08:58:04 -05:00
Morgan Wahl
a2aea4521d
[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
2017-12-06 10:08:52 -05:00
Tim Graham
e30674a1b7
[2.0.x] Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs.
...
Backport of 4114b441ee63e5e9196f20beee5cb071d1a21b3b from master
2017-12-06 09:24:01 -05:00
Tim Graham
be70d3b968
[2.0.x] Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters.
...
Backport of bae365e13c38f0e33b9f00453768de2aac6c727e from master
2017-12-06 09:16:52 -05:00
Mariusz Felisiak
741711f8a2
[2.0.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:34:56 +01:00
Mariusz Felisiak
73ab743866
[2.0.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:34:47 +01:00
Claude Paroz
dd5d405e62
[2.0.x] Removed 'development' word in contributing docs
...
Backport of f2ec89691236b59f54f9cf41bccd79a5853af36c from master.
2017-12-05 18:44:06 +01:00
Nick Pope
c1d57615ac
[2.0.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
...
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-12-05 11:44:11 -05:00
Tim Graham
e71f4e8632
[2.0.x] Added stub release notes for 1.11.9.
...
Backport of dfeb19121b40cadd22b81c4b9d0373d617a695ed from master
2017-12-05 10:55:35 -05:00
Igor Starikov
b0d809ac6c
[2.0.x] Fixed typo in docs/ref/models/expressions.txt.
...
Backport of 3cc08f4b2ba6fe7931cf551676fa86a4966987e4 from master
2017-12-05 08:40:07 -05:00
David Szotten
48beda6660
[2.0.x] Fixed grammar in docs/releases/2.0.txt.
...
Backport of bee4c2baede18d8c8c0a29cd9affb18074dafd3a from master
2017-12-04 08:56:19 -05:00
Sergey Fedoseev
6a70b576b5
[2.0.x] Fixed typo in docs/topics/testing/advanced.txt.
...
Backport of 3922f02dc6b10a3268a710a2837027d3999957a3 from master
2017-12-04 11:55:12 +01:00
Tim Graham
7925351241
[2.0.x] Added stub release notes for 2.0.1.
...
Backport of 450c933fff2b180825dc2c7c1289380431479695 from master
2017-12-02 10:42:34 -05:00
Tim Graham
6c05e69221
[2.0.x] Added release dates for 2.0 and 1.11.8.
...
Backport of 335aad5d9170b3e3807ebd35a7dd74800df03588 from master
2017-12-02 08:56:06 -05:00
Simon Charette
31d318d19c
[2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.
...
Thanks Ramiro for the input and Tim for the review.
Backport of 095c1aaa898bed40568009db836aa8434f1b983d from master
2017-12-01 22:15:48 -05:00
Tim Graham
4dc35e126d
[2.0.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:21 -05:00
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