Commit Graph

24069 Commits

Author SHA1 Message Date
Claude Paroz 81c3967e55 [1.11.x] Refs #28192 -- Fixed documentation of ChoiceField choices requirement
Thanks Tim Graham for noticing the issue.
Backport of 54caca2d34 from master.
2017-06-03 16:19:09 +02:00
Anupam 9a3bcaf46a [1.11.x] Fixed #28190 -- Clarifed how include/extends treat template names.
Backport of 1f2e4f9cfe from master
2017-06-03 08:11:41 -04:00
Philip James 34ea3d61af [1.11.x] Fixed #26028 -- Added overriding templates howto.
Backport of 7c9a833301 from master
2017-06-02 18:21:35 -04:00
Chris Lamb fa63fc91cc [1.11.x] Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable.
Backport of 2ec56bb782 from master
2017-06-02 10:29:39 -04:00
Jon Dufresne 1940e3daef [1.11.x] Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs.
Backport of 29a518006f from master
2017-06-02 09:52:53 -04:00
Lachlan Musicman 84dac491d4 [1.11.x] Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt.
Backport of 00093daec9 from master
2017-06-02 09:17:31 -04:00
François Freitag 8245255ae5 [1.11.x] Clarified QuerySet.iterator()'s docs on server-side cursors.
Backport of bf50ae8210 from master
2017-06-01 15:38:56 -04:00
Tim Graham 3cd9a4b1ea [1.11.x] Sorted imports per isort 4.2.9.
Backport of cde31daf88 from master
2017-06-01 13:30:08 -04:00
Tim Graham 2134090e79 [1.11.x] Added stub release notes for 1.11.3.
Backport of 4ef093b0b4 from master
2017-06-01 12:55:12 -04:00
Tim Graham 80a62ac64f [1.11.x] Post-release version bump. 2017-06-01 12:54:38 -04:00
Tim Graham ce4edd260b [1.11.x] Bumped version for 1.11.2 release. 2017-06-01 11:22:36 -04:00
Tim Graham 78975c453b [1.11.x] Added release date for 1.11.2.
Backport of 162778b8e2 from master
2017-06-01 11:11:48 -04:00
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
Tim Graham af9a81aa7f [1.11.x] Fixed a forms test after updated translations.
Backport of 84fb50df67 from master
2017-05-31 19:33:26 -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
Tim Graham 48274c1589 [1.11.x] Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS.
Regression in 890537253c.

Backport of 4a251f8bce from master
2017-05-30 15:14:55 -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
Mariusz Felisiak 5688562f66 [1.11.x] Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
The latitude coordinates exceed -90, 90 bounds and caused a test failure
on Oracle 12.2.

Thanks Michał Wierzbowski for help preparing the patch.

Backport of 037d6540ec from master
2017-05-30 08:23:05 -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
Yuichi Fujikawa d6bff52fdf [1.11.x] Fixed docstring typo in django/contrib/admin/actions.py.
Backport of f8bce94997 from master
2017-05-25 05:55:04 -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
Daniel Hahler a810f4aa04 [1.11.x] Refs #28207 -- Fixed contrib.auth.authenticate() if 'backend' is in the credentials.
Regression in 3008f30f19.

Backport of a3ba2662cd from master
2017-05-22 13:00:44 -04: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
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