1
0
mirror of https://github.com/django/django.git synced 2025-04-06 14:36:41 +00:00

9823 Commits

Author SHA1 Message Date
Alexander Kavanaugh
008ba77dfd [1.11.x] Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using save_as_new.
Regression in 4a246a02bdcbc13b15480c014f51cb0682af7c1e.

Backport of 362fba87c9bb4f88542ba82ce4a732fed2634be7 from master
2017-05-03 08:59:41 -04:00
Mariusz Felisiak
c5b7421068 [1.11.x] Fixed broken link to QUnit docs.
Backport of 9b2d47bcded8320114193e9b2a200119a19974a6 from master
2017-05-03 07:32:13 -04:00
Tim Graham
0615601498 [1.11.x] Fixed #28157 -- Fixed choice ordering in form fields with grouped and non-grouped options.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of d302e2c09c281e6b1e187f704f656e5e79e69246 from master
2017-05-03 07:22:00 -04:00
Tim Graham
72a93da1b6 [1.11.x] Fixed broken link to mysqlclient docs.
Backport of 13cd5b067054f40c6ca723c97fff56c510c04295 from master
2017-05-02 20:17:39 -04:00
Tim Graham
6e89abdc49 [1.11.x] Refs #28100 -- Added 1.11.1 release note for e6bfd3d751278d7cfd09af1120c4bbce509c05da.
Backport of 941280229e8cd108c2d8ead12b0dcf3ff021bf23 from master
2017-05-01 21:31:33 -04:00
Markus Holtermann
6afede8219 [1.11.x] Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.

Backport of 663e48947ff8ef3e6a6275bda2d1ee1b0de13be3 from master
2017-05-01 12:22:29 -04:00
Ian Foote
211d2bf3f2 [1.11.x] Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.
Backport of 63afe3a2bfaf97fecff6641137a85296029d5b73 from master
2017-05-01 10:08:50 -04:00
Tim Graham
ccb3b0ee67 [1.11.x] Fixed #28139 -- Added another level of headings in the topics index.
Backport of 4b0211dad55fc9d154dd5fc5b0006a647115d75d from master
2017-05-01 09:02:04 -04:00
Dylan Verheul
b1aea89dee [1.11.x] Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs.
Backport of 75aeebebfe3df3ea46b8e12dd5e7719f98664d3a from master
2017-04-30 21:13:50 -04:00
Tim Graham
a2975cb083 [1.11.x] Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.
Thanks Preston Timmons for review.

Backport of 1ebd295082bb0e6b230cf3bc39fd04bee71c2bd7 from master
2017-04-29 22:24:29 -04:00
shinriyo
0f60333534 [1.11.x] Fixed typo in docs/topics/auth/default.txt.
Backport of d510971088570e205e49f9fa665a8d4259514ada from master
2017-04-29 06:56:43 -04:00
Mariusz Felisiak
12a3032df0
[1.11.x] Refs #28138 -- Added release notes for d52577b62b3138674807ac74251fab7faed48331. 2017-04-28 17:40:13 +02:00
Tim Graham
e93135b067 [1.11.x] Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.
Regression in f5c6295797b8332134fd89e0209a18a1d1d45e0c.

Backport of f04a40491764bdc9a2ebbfc03fa7be424fb3ce63 from master
2017-04-28 09:32:52 -04:00
Tim Graham
ba85929188 [1.11.x] Added links and cosmetic edits to docs/ref/request-response.txt.
Backport of 8ab7ce8558792f41637d6f87f2a8a117e169dd18 from master
2017-04-26 21:11:03 -04:00
kapil garg
8a1340ea11 [1.11.x] Fixed #27730 -- Doc'd that template vars created outside a block can't be used in it.
Backport of 278a09ac1f410cf4e3472146324feded2e2c18b3 from master
2017-04-26 14:55:15 -04:00
Ingo Klöcker
4678957b4e [1.11.x] Fixed #27644 -- Doc'd FileSystemStorage.get_created_time().
Backport of f3ac398dd595c43f551502c742b0b3cbe8440e50 from master
2017-04-26 13:55:48 -04:00
Nauman Tariq
3bbe85b7b5 [1.11.x] Added content_type filtering in Permission querying example.
Backport of 6684af1e43aeff99551f3265710d44c273f0554a from master
2017-04-26 13:28:32 -04:00
Tim Graham
42e4ad48ee [1.11.x] Clarified "newly-introduced features" in the supported versions policy.
Backport of 8f50ca11eb3d498f1fd7505ddbd02c994f3fc058 from master
2017-04-26 09:49:14 -04:00
Tim Graham
e217e15ca1 [1.11.x] Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis.
Backport of 19a23fe562b4b2d051612d2850834c60177c4063 from master
2017-04-26 09:46:03 -04:00
Tim Graham
5ac322dd1f [1.11.x] Fixed #28125 -- Clarified 1.11 release note about Template.render() prohibiting non-dict context.
Backport of bce5cc57e915914708f9cd4c8bd6bbc6a68195d4 from master
2017-04-26 09:41:26 -04:00
Josh Schneier
1f1040aa54 [1.11.x] Removed nonexistent methods from File's docs.
read() and write() were removed in 68a890e79f660484d05482902663b6168f0bd71e.

Backport of 98ee57e343206ef553de78b22be5e9a6dacb5060 from master
2017-04-25 20:17:31 -04:00
Tim Graham
4a89000ccf [1.11.x] Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s template.
Backport of 56970c5b61f8f1612944dc54b72ef210d433066f from master
2017-04-25 11:01:34 -04:00
Michiel Beijen
7eecf496ee [1.11.x] Renamed "Mac OS X" to "macOS" in docs.
Backport of 5e8625ba643db118a44cb32e9e48bf431ef4da53 from master
2017-04-24 20:51:55 -04:00
Simon Charette
0ad1693494 [1.11.x] Fixed #28101 -- Fixed a regression with nested __in subquery lookups and to_field.
Thanks Kristian Klette for the report and Tim for the help.

Backport of 8ef35468b660e1c25af67a8299202b8bc108679f from master
2017-04-23 01:16:04 -04:00
Simon Charette
395df007f4 [1.11.x] Fixed #28109 -- Corrected the stack level of unordered queryset pagination warnings.
Refs #26290.

Thanks Tim for the review.

Backport of c0f12a098c0258eef3e9af982c17f5ef7f6c927d from master
2017-04-22 14:10:49 -04:00
Jon Dufresne
1442e29983 [1.11.x] Fixed #28075 -- Prevented ChoiceWidget from localizing option values.
Backport of 581879a510e58841e5780a5d1fdb4995733d2036 from master
2017-04-21 12:29:20 -04:00
Tim Graham
c9d933ba99 [1.11.x] Refs #28091 -- Fixed typo and rephrased 1.11.1 release note. 2017-04-20 12:56:32 -04:00
François Freitag
56746fb21f [1.11.x] Fixed #28091 -- Re-raised original exception when closing cursor cleanup fails 2017-04-20 17:43:39 +02:00
Tim Graham
5e2bbcd70c [1.11.x] Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets().
Backport of d2cb7a2bc11f111be04a29b5e4f92a183b18ba88 from master
2017-04-20 11:40:20 -04:00
Markus Holtermann
0d9e7e9a26 [1.11.x] Removed inappropriate highlighting in committing-code.txt.
Backport of 6d7cbe67f0a91ce3c576b41dc5650e1e4cdbd4e2 from master
2017-04-20 11:33:59 -04:00
Tim Graham
2f358d32ec [1.11.x] Fixed #28059 -- Restored class attribute in <ul> of widgets that use multiple_input.html.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01

Backport of af1f986360dc6bb6e75e960dbc191707541128ac from master
2017-04-20 11:07:54 -04:00
Claude Paroz
61e883c7c2 [1.11.x] Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1.
Thanks Tim Graham for the review.
Backport of 43b4a1618ed85151494d68778a1bb6304ce1cb79 from master.
2017-04-19 19:37:13 +02:00
Tim Graham
cf1e682c8c [1.11.x] Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
Backport of dff559ff83a6aac14de0bbca58101786edf4195f from master
2017-04-19 12:59:53 -04:00
InvalidInterrupt
5d556d2aaf [1.11.x] Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data.
Backport of dda596ca3296f5b2574cf4876a4e176594f52834 from master
2017-04-17 22:27:59 -04:00
Tim Graham
844ae40a7c [1.11.x] Fixed #28058 -- Restored empty BoundFields evaluating to True.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01

Backport of c09bf8d76770d39a4d9545b67598cd05adee281b from master
2017-04-17 08:56:15 -04:00
Tim Graham
91bbe7b1c1 [1.11.x] Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page.
Regression in 7b6dccc82fa5b03cf431742c0655e5ac954e228e

Backport of 8c6a3062dda7b51c3f545e625f529ce5c183040d from master
2017-04-15 09:21:54 -04:00
Tim Graham
9a93c1a394 [1.11.x] Fixed #28067 -- Clarified __str__() return type when using python_2_unicode_compatible().
Backport of 83cbb8d080299669de3569941a40789e5d32b009 from master
2017-04-14 08:06:24 -04:00
Claude Paroz
a14af7f1bb [1.11.x] Double quoted HTML attributes in widget docs
Backport of 7741d4e8787809b38df970aa11df8bdad4f22dd8 from master.
2017-04-14 08:48:32 +02:00
Sergey Fedoseev
4401e3be36 [1.11.x] Corrected docs regarding MySQL support of Length GIS function.
Backport of 33421ed10c7d26a7692edf5ba95c98107b6b0a98 from master
2017-04-12 09:17:43 -04:00
Tim Graham
c30cc8d222 [1.11.x] Fixed #28069 -- Moved setup_test_environment() warning in tutorial 5.
Updated for 17e661641ddaf8266e7430d83cfb2039abc55df7.

Backport of 45d65fc3f21d00ff619820c004b612f5c2fa1713 from master
2017-04-12 08:46:05 -04:00
Christoph Schindler
b888fdf79c [1.11.x] Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt.
The format changed in 22bfc451467ec6e13044a87a97cf00e9f8a845e4.

Backport of 7060f777b09da2a844820a39f227a420c2c6ff90 from master
2017-04-11 12:31:15 -04:00
Taavi Teska
c3d3aeeafa [1.11.x] Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate to forms.
Backport of 5dbf1c4b23cda915369f4895be293369575238d0 from master
2017-04-10 14:24:55 -04:00
Tim Graham
e5797fef56 [1.11.x] Clarified HStoreField model/form difference in 1.11 release notes.
Backport of d825ac6dfab93c34fef27eb62c382eb7a9dabff8 from master
2017-04-10 12:42:40 -04:00
Tim Graham
8a13cddc26 [1.11.x] Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk.
Regression in 1bc249c2a67c24fcd28436c85388eff1d826e305.

Backport of fce782710160420d5c963bb33a6646542d91f40c from master
2017-04-10 11:52:10 -04:00
Paolo Melchiorre
fc18b51978 [1.11.x] Fixed typos in docs/topic/db/search.txt.
Backport of eac396a5d08a2c7424cd897b54360531dc0ceae5 from master
2017-04-08 07:26:29 -04:00
kalombo
734e6bb2b8 [1.11.x] Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachments arg.
Backport of dd001848920713fe616c03db6946762e8aa7c4e3 from master
2017-04-07 18:24:09 -04:00
Simon Charette
5d35e8eb06 [1.11.x] Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL.
Reverted 658f1e8 which broke code using __icontains's implicit cast to ::text
on ArrayField.

Thanks Peter J. Farrell for the report.

Backport of a354c69055fd818e612ce22eaa2da0576a4b89ee from master
2017-04-07 16:51:07 -04:00
Markus Holtermann
f9d2a20d7b [1.11.x] Fixed #28051 -- Made migrations respect Index's name argument.
Thanks Marc Tamlyn for the report and Tim Graham for the review.

Backport of d3cf75ec6fbdd2c1f1bb1e6ccb48d4de1da2952b from master
2017-04-07 11:48:25 -04:00
Richard Barrell
0cb009aa48 [1.11.x] Fixed #28031 -- Removed notes about old uWSGI/sentry versions (refs #20537).
Backport of 351835f26234cade43f0bed45441fc144c33a785 from master
2017-04-06 09:34:11 -04:00
Sudhanshu Mishra
44bf3c6812 [1.11.x] Fixed #28025 -- Fixed typo in docs/ref/models/querysets.txt.
Backport of 9f0c82971dff1e40bad63879b5f6fee42dd64953 from master
2017-04-05 07:23:59 -04:00