Commit Graph

9915 Commits

Author SHA1 Message Date
Manatsawin Hanmongkolchai 110bd82038 [1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the form field.
Backport of a0c07d77fc from master
2017-06-01 10:44:47 -04:00
Claude Paroz 02158a785e [1.11.x] Updated translations from Transifex 2017-05-31 21:42:51 +02:00
Derrick Jackson 7250393f31 [1.11.x] Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount.
Backport of 789c290150 from master
2017-05-31 15:02:32 -04:00
Robert Rollins 877d7b71ae [1.11.x] Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses. 2017-05-30 18:06:58 -04:00
René Fleschenberg ceb6a64f2f [1.11.x] Refs #26294 -- Fixed typo in docs/ref/django-admin.txt.
Backport of a30482a4b6 from master
2017-05-30 17:16:10 -04:00
Adit Biswas 4e675999d5 [1.11.x] Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date.
Backport of c2eea61dff from master
2017-05-30 13:32:20 -04:00
Tim Graham 4112bce442 [1.11.x] Refs #28181 -- Corrected detection of GDAL 2.1 on Windows.
Follow up to a404f75f92.

Backport of c32476e5ba from master
2017-05-30 09:42:16 -04:00
Tim Graham 9b9a81024a [1.11.x] Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST.
Thanks Simon Charette for the fix.

Backport of f04495521a from master
2017-05-30 06:41:50 -04:00
Tim Graham 3e17b0222c [1.11.x] Removed incorrect "required" attribute in docs/ref/forms/fields.txt.
Backport of 17ed0d36bc from master
2017-05-29 18:01:28 -04:00
Tim Graham c341803315 [1.11.x] Fixed #28204 -- Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if InvalidPage message contains non-ASCII. 2017-05-29 09:51:16 -04:00
Jon Dufresne 2c03e14586 [1.11.x] Corrected REPL example in forms docs for Python 3.
Backport of c3e638112d from master
2017-05-27 19:28:58 -04:00
Alex b9abdd92ab [1.11.x] Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/get_or_create() defaults.
Backport of 37ab3c3f9d from master
2017-05-27 13:01:38 -04:00
Eric Theise f804b46294 [1.11.x] Added some shell output in tutorial 2.
Backport of 1b5b3710f1 from master
2017-05-25 13:44:06 -04:00
Tim Graham 61f61a2b0c [1.11.x] Fixed #28239 -- Removed docs for a removed arg of template.Context.
Backport of 0ea321193a from master
2017-05-25 13:17:25 -04:00
Dima Veselov 945b3d1da1 [1.11.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 01d7ff9a17 from master
2017-05-25 05:45:15 -04:00
Tim Graham 64ed10e672 [1.11.x] Removed usage of deprecated sphinx.util.compat.Directive.
Backport of cb16458c4f from master
2017-05-24 10:45:12 -04:00
Dmitry Shachnev b78e5dec18 [1.11.x] Fixed docs build with Sphinx 1.6.
Backport of f370bfb108 from master
2017-05-24 09:47:24 -04:00
vinay karanam d1d08d86ba [1.11.x] Fixed #28230 -- Allowed DjangoJsonEncoder to serialize CallableBool. 2017-05-22 21:58:38 -04:00
Claude Paroz 65dfe579d0 [1.11.x] Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:32:02 +02:00
Markus Amalthea Magnuson bd6a3546d4 [1.11.x] Made docs/topics/migrations.txt use single quotes consistently.
Backport of 266b243168 from master
2017-05-22 12:07:09 -04:00
Michiel Beijen ec24108008 [1.11.x] Pointed Dive into Python links to python3 site
Backport of 48028c6f9a from master
2017-05-20 21:46:18 -04:00
Tim Graham f2b8fa1763 [1.11.x] Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving child model.
Regression in 38575b007a.

Backport of 59ab1b2683 from master
2017-05-19 21:09:42 -04:00
Tim Schneider 566726ff96 [1.11.x] Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.
Backport of 3a5299c19c from master
2017-05-15 08:59:02 -04:00
Tamas Szabo d945b7e42a [1.11.x] Fixed #28207 -- Fixed contrib.auth.authenticate() if multiple auth backends don't accept a request.
Backport of 3008f30f19 from master
2017-05-15 08:15:18 -04:00
Danilo Bargen 84f6098aaf [1.11.x] Documented OSMWidget.default_lat/lon.
Backport of 680968b9e4 from master
2017-05-13 17:44:45 -04:00
Tim Graham 28fe20b5af [1.11.x] Fixed widgets module path in docs/ref/contrib/gis/forms-api.txt.
Backport of b0d0dbe280 from master
2017-05-12 09:24:35 -04:00
Tim Graham 74b0837bef [1.11.x] Fixed #28188 -- Fixed crash when pickling model fields.
Regression in d2a26c1a90.

Thanks Adam Alton for the report and test, and Adam Johnson for
suggesting the fix.

Backport of a9874d48b1 from master
2017-05-11 21:05:05 -04:00
Riccardo Magliocchetti 643413f654 [1.11.x] Fixed #28148 -- Doc'd ImageField name validation concerns with the test client.
Backport of bdf192c593 from master
2017-05-11 19:39:42 -04:00
UmanShahzad 03d0c05fdf [1.11.x] Fixed #28142 -- Fixed is_safe_url() crash on invalid IPv6 URLs.
Backport of 856072dd4a from master
2017-05-10 09:43:12 -04:00
Tim Graham b3e56da050 [1.11.x] Fixed #28178 -- Changed contrib.gis to raise ImproperlyConfigured if gdal isn't installed.
Backport of c2975910a5 from master
2017-05-08 12:26:10 -04:00
Tim Graham 7fdbd25336 [1.11.x] Fixed #28181 -- Added detection for GDAL 2.1 and 2.0.
Follow up to:
ffdf507ec0 (adding GDAL 2.0 support)
ebaa2fef27 (confirming GDAL 2.1 support)
8c7778884b (removing GDAL 1.8, 1.7 support)

Backport of a404f75f92 from master
2017-05-08 11:00:49 -04:00
Tim Graham 4bdc832a75 [1.11.x] Fixed #28095 -- Doc'd Widget.build_attrs() signature change in Django 1.11.
Backport of e86f4786a7 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 b57dc9268b from master
2017-05-06 09:46:46 -04:00
Tim Graham 4412835790 [1.11.x] Added release date for 1.11.1.
Backport of cedaac3428 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 88336fdbb5 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 d66378a8b2 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 2874531ab5 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 2dc3280254 from master
2017-05-04 21:14:23 -04:00
François Freitag c679ac0449 [1.11.x] Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches.
Backport of c0a2b9508a from master
2017-05-04 09:55:35 -04:00
Mariusz Felisiak fec151222e [1.11.x] Fixed broken links to Oracle docs.
Backport of 16121da78d 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 b91868507a 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 38575b007a.

Backport of 584e10c76e 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 4a246a02bd.

Backport of 362fba87c9 from master
2017-05-03 08:59:41 -04:00
Mariusz Felisiak c5b7421068 [1.11.x] Fixed broken link to QUnit docs.
Backport of 9b2d47bcde 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 b52c73008a.

Backport of d302e2c09c from master
2017-05-03 07:22:00 -04:00
Tim Graham 72a93da1b6 [1.11.x] Fixed broken link to mysqlclient docs.
Backport of 13cd5b0670 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 e6bfd3d751.
Backport of 941280229e 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 663e48947f 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 63afe3a2bf 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 4b0211dad5 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 75aeebebfe 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 1ebd295082 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 d510971088 from master
2017-04-29 06:56:43 -04:00
Mariusz Felisiak 12a3032df0
[1.11.x] Refs #28138 -- Added release notes for d52577b62b. 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 f5c6295797.

Backport of f04a404917 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 8ab7ce8558 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 278a09ac1f 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 f3ac398dd5 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 6684af1e43 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 8f50ca11eb 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 19a23fe562 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 bce5cc57e9 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 68a890e79f.

Backport of 98ee57e343 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 56970c5b61 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 5e8625ba64 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 8ef35468b6 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 c0f12a098c 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 581879a510 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 d2cb7a2bc1 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 6d7cbe67f0 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 b52c73008a

Backport of af1f986360 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 7ec330eeb9.
Thanks Tim Graham for the review.
Backport of 43b4a1618e from master.
2017-04-19 19:37:13 +02:00
Tim Graham cf1e682c8c [1.11.x] Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
Backport of dff559ff83 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 dda596ca32 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 b52c73008a

Backport of c09bf8d767 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 7b6dccc82f

Backport of 8c6a3062dd 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 83cbb8d080 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 7741d4e878 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 33421ed10c 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 17e661641d.

Backport of 45d65fc3f2 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 22bfc45146.

Backport of 7060f777b0 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 5dbf1c4b23 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 d825ac6dfa 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 1bc249c2a6.

Backport of fce7827101 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 eac396a5d0 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 dd00184892 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 a354c69055 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 d3cf75ec6f 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 351835f262 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 9f0c82971d from master
2017-04-05 07:23:59 -04:00
Florian Apolloner 5da14b257e [1.11.x] Back to the future. 2017-04-05 11:16:19 +02:00
Tim Graham 31c303a94c [1.11.x] Added stub release notes for 1.11.1.
Backport of 4202ed2437 from master
2017-04-04 22:24:11 -04:00
Tim Graham 2d656d1fa1 [1.11.x] Added CVE-2017-7233,4 to the security release archive.
Backport of b749c980a0 from master
2017-04-04 21:52:09 -04:00
Tim Graham 091fc3248f [1.11.x] Updated man page for Django 1.11. 2017-04-04 11:53:56 -04:00
Tim Graham 97e77b7bc1 [1.11.x] Fixed #27912, CVE-2017-7233 -- Fixed is_safe_url() with numeric URLs.
This is a security fix.
2017-04-04 10:46:50 -04:00
Tim Graham 001ff50808 [1.11.x] Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve().
This is a security fix.
2017-04-04 10:46:50 -04:00
Tim Graham 839159b67e [1.11.x] Added stub release notes for security releases. 2017-04-04 10:46:48 -04:00
Aleksej Manaev 8165863a67 [1.11.x] Fixed typos in docs/howto/static-files/index.txt.
Backport of 7170820b4e from master
2017-04-03 08:14:06 -04:00