Commit Graph

24088 Commits

Author SHA1 Message Date
Mariusz Felisiak 44e29ea1e9 [1.11.x] Fixed #28293 -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.

Backport of 82175ead72 from master
2017-06-13 08:33:26 +02:00
Paulo 927d9b51fe [1.11.x] Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk.
Thanks Robin Anupol for the initial report and workaround.

Backport of 9dc83c356d from master
2017-06-12 21:22:53 -04:00
Tim Graham 7fb148a638 [1.11.x] Fixed #27655 -- Added some guidelines to the coding style docs.
Backport of c68f5d83c0 from master
2017-06-12 15:39:25 -04:00
Tim Graham 48ce204488 [1.11.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 0877989c94 from master
2017-06-09 12:48:46 -04:00
Tim Graham 109fd94c96 [1.11.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
Backport of 108ff788cb from master
2017-06-09 12:43:19 -04:00
Jon Dufresne ccb8297eee [1.11.x] Fixed #28282 -- Fixed class-based indexes name for models that only inherit Model.
Backport of 0c3c37a376 from master
2017-06-08 09:47:18 -04:00
Mads Jensen 319839d780 [1.11.x] Refs #25240 -- Added ExtractWeek examples.
Backport of 085c2f94ec from master
2017-06-08 09:17:01 -04:00
Tim Graham 288fd9b9e0 [1.11.x] Corrected FileExtensionValidator doc regarding the value being validated.
Backport of c01409c789 from master
2017-06-07 16:52:50 -04:00
Tim Graham 56e4a01b50 [1.11.x] Simplified tutorial's test names and docstrings.
Backport of 23825b2494 from master
2017-06-07 09:47:34 -04:00
Tim Graham bc9c6fe7cb [1.11.x] Fixed #28233 -- Used a simpler example in the aggregation "cheat sheet" docs.
Backport of 49b9c89d40 from master
2017-06-07 09:43:48 -04:00
kakulukia 992f143bad [1.11.x] Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.
Backport of 525dc283a6 from master
2017-06-06 15:57:08 -04:00
Tim Graham 6ae60295d7 [1.11.x] Updated was_published_recently() tutorial test to check boundary condition.
Backport of 268a646353 from master
2017-06-06 12:17:16 -04:00
Tim Graham 8f7e6b55e5 [1.11.x] Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.
Backport of fc13a697b4 from master
2017-06-06 11:27:18 -04:00
Paulo a0707947e4 [1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
Backport of 4ad2f86284 from master
2017-06-06 08:18:08 -04:00
Windson yang b373812b0b [1.11.x] Fixed #28102 -- Doc'd how to compute path to built-in widget template directories.
Backport of 7f238097c0 from master
2017-06-05 17:27:05 -04:00
Paulo 834d57b4de [1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
Backport of b7f99f84bc from master
2017-06-05 11:34:43 -04:00
Adam Johnson b7d6077517 [1.11.x] Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor.
Regression in d2a26c1a90.

Backport of ed244199c7 from master
2017-06-05 09:15:55 -04:00
Adam Johnson fa8346b9a9 [1.11.x] Added a test for Model._meta._property_names.
Backport of 36f09c8a29 from master
2017-06-05 09:05:53 -04:00
Tim Graham d6100b715d [1.11.x] Fixed typo in docs/ref/forms/fields.txt.
Backport of ecae9c7aec from master
2017-06-05 08:24:34 +02:00
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