1
0
mirror of https://github.com/django/django.git synced 2025-03-15 20:00:46 +00:00

24167 Commits

Author SHA1 Message Date
Tim Graham
4bdc832a75 [1.11.x] Fixed #28095 -- Doc'd Widget.build_attrs() signature change in Django 1.11.
Backport of e86f4786a7f39b0ed833c0699addf0c27811d864 from master
2017-05-06 14:46:37 -04:00
Tim Graham
97f0e32f8e [1.11.x] Added stub release notes for 1.11.2.
Backport of b57dc9268bc635525cf143ca0b36276e04542332 from master
2017-05-06 09:46:46 -04:00
Tim Graham
fa7ecb6c81 [1.11.x] Post-release version bump. 2017-05-06 09:29:37 -04:00
Tim Graham
aab5deb53e [1.11.x] Bumped version for 1.11.1 release. 1.11.1 2017-05-06 08:33:38 -04:00
Tim Graham
4412835790 [1.11.x] Added release date for 1.11.1.
Backport of cedaac34283fc814a1c2aa51d6c6386667668656 from master
2017-05-06 08:24:06 -04:00
François Freitag
6a2624286b [1.11.x] Fixed #28062 -- Added a setting to disable server-side cursors on PostgreSQL.
When a connection pooler is set up in transaction pooling mode, queries
relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS
setting in DATABASES disables server-side cursors for this use case.

Backport of 88336fdbb5e101fa25825b737169c0d6af2faa93 from master
2017-05-06 07:45:46 -04:00
Tim Graham
f9a4593376 [1.11.x] Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign key's parent model as the lookup value.
Thanks Simon Charette for review.

Backport of d66378a8b2d48d41b56ba3622189493e4edf9e5a from master
2017-05-05 18:36:09 -04:00
Christoph Schindler
73d4560a92 [1.11.x] Fixed typo in docs/ref/forms/fields.txt.
Backport of 2874531ab59d46a48e32fb553ac86499778784bc from master
2017-05-05 18:24:46 -04:00
Tim Graham
68ebc240a4 [1.11.x] Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
Backport of 2dc3280254ae06ca1fe664abf55749fe12a699d4 from master
2017-05-04 21:14:23 -04:00
Tim Graham
444cdf6131 [1.11.x] Made runtests.py run gis_tests only when using a GIS database backend.
This facilitates other changes like refs #28160.

Backport of 890537253cf235091816d27a5c2fb64943c8e34a from master
2017-05-04 20:54:25 -04:00
François Freitag
c679ac0449 [1.11.x] Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches.
Backport of c0a2b9508aa2c6eaa22e9787010276edca887f0b from master
2017-05-04 09:55:35 -04:00
Mariusz Felisiak
fec151222e [1.11.x] Fixed broken links to Oracle docs.
Backport of 16121da78d7a522bf6b6e5fe704eb655b9ab442d from master
2017-05-04 09:13:47 -04:00
Simon Charette
246166cfe4 [1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
Thanks Tim for the review.

Backport of b91868507af08234a30e9a8e7c90b37c561ba315 from master.
2017-05-04 00:23:49 -04:00
Tim Graham
f3217ab596 [1.11.x] Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child model.
Regression in 38575b007a722d6af510ea46d46393a4cda9ca29.

Backport of 584e10c76edcd3a33765a52c5cde0096a3ce7dbc from master
2017-05-03 12:31:18 -04:00
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
4c12b10263 [1.11.x] Refs #28052 -- Cleaned up some indexes in schema tests.
Backport of d0e43f225f59145903c72c650eeef1f80e12f9ed from master
2017-05-01 22:22:58 -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
Tim Graham
369321819c [1.11.x] Fixed typo in django/db/backends/base/schema.py comment.
Backport of 05098fa4494e66e1d3750d7f4821f7b3114693b9 from master
2017-05-01 20:46:07 -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
Mariusz Felisiak
d52577b62b [1.11.x] Fixed #28138 -- Used output type handler instead of numbersAsStrings on Oracle cursor.
Thanks Tim Graham for the review.

Backport of 946775227c56d7a4c6a43343b2e88af837f99f49 from master
2017-04-28 16:53:39 +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
Tim Graham
6cbfaba178 [1.11.x] Removed obsolete Widget.format_output() in tests.
Obsolete since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of 851874fe0a5dd8f99c763134df0bbaca6f03d17a from master
2017-04-24 13:42:00 -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
e6bfd3d751 [1.11.x] Refs #28100 -- Fixed URL in el, es_MX, and pt auth translations 2017-04-19 20:14:39 +02:00