Commit Graph

24032 Commits

Author SHA1 Message Date
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
Florian Apolloner cf81add997 [1.11.x] Fixed db backend discovery in admin_scripts tests.
Not all backends have dots in them.

Backport of 60f5129076 from master
2017-05-10 09:52:26 -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 4841fafb44 [1.11.x] Refs #28160 -- Skipped a GeoManager test if not using a GIS database backend.
The test errors if GDAL isn't installed.
2017-05-09 10:04:58 -04:00
Markus Holtermann 38e1169067
[1.11.x] Refs #22397 -- Removed model in test cleanup
The test was failing when using --keepdb due to a pre-existing
PonyStables model.

Thanks Florian Apolloner for the report

Backport of 8e352876c3 from master.
2017-05-09 13:11:05 +02:00
Florian Apolloner ab0df82b40 [1.11.x] Pass type to sql_alter_column_* where it was missing.
This is a followup to 2b3a941457

Backport of 837259a63f from master.
2017-05-09 12:49:09 +02: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 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. 2017-05-06 08:33:38 -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
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 890537253c 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 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 4c12b10263 [1.11.x] Refs #28052 -- Cleaned up some indexes in schema tests.
Backport of d0e43f225f 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 e6bfd3d751.
Backport of 941280229e 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 05098fa449 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 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
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 946775227c 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 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