Commit Graph

9915 Commits

Author SHA1 Message Date
Sergey Fedoseev 30f334cc58 [1.11.x] Fixed #28389 -- Fixed pickling of LazyObject on Python 2 when wrapped object doesn't have __reduce__().
Partial revert of 35355a4ffe.
2017-07-12 09:11:48 -04:00
Irindu Indeera fe7b456825 [1.11.x] Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
Backport of babe9e64a6 and
2457c1866e from master
2017-07-11 14:23:22 -04:00
Tom b2ebc47a22 [1.11.x] Updated name of topics/db/queries link on index.
Backport of 719b370b34 from master
2017-07-11 08:15:40 -04:00
Mariusz Felisiak 346b46a274 [1.11.x] Fixed #28378 -- Fixed union() and difference() when combining with a queryset raising EmptyResultSet.
Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette
for the reviews.

Backport of ca74e56350 from master
2017-07-10 20:50:50 +02:00
marton bognar 5b450b84e1 [1.11.x] Fixed #28361 -- Fixed possible time-related failure in was_published_recently() tutorial test.
Regression in 268a646353.

Backport of 8274160520 from master
2017-07-06 18:24:04 -04:00
Tim Graham 81febf4def [1.11.x] Fixed #28355 -- Fixed widget rendering of non-ASCII date/time formats on Python 2. 2017-07-06 07:41:57 -04:00
Tushar Malik 664f5708c8 [1.11.x] Added missing import in docs/topics/db/queries.txt.
Backport of 14251324e6 from master
2017-07-04 20:18:25 -04:00
Tim Graham eabd967726 [1.11.x] Added stub release notes for 1.11.4.
Backport of 2328f2faf8 from master
2017-07-01 19:41:25 -04:00
Tim Graham 40da4d0490 [1.11.x] Added release date for 1.11.3.
Backport of 25cce597d0 from master
2017-07-01 19:14:02 -04:00
Jon Dufresne 8641489f4d [1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().
field_for_model() now has an additional keyword argument,
apply_limit_choices_to, allowing it to continue to be used to create
form fields dynamically after ModelForm.__init__() is called.

Thanks Tim Graham for the review.

Backport of a1be12fe19 from master
2017-06-30 21:28:47 -04:00
Simon Charette c1621d8008 [1.11.x] Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent field.
Thanks Tim for the review.

Backport of 5cbcb36839 from master
2017-06-30 13:12:33 -04:00
Mike Vasiliou a6756195c1 [1.11.x] Fixed #28294 -- Doc'd request/args/kwargs attributes of class-based views.
Backport of 63e9a71ec4 from master
2017-06-28 10:01:20 -04:00
Laura a84b555eb5 [1.11.x] Fixed #28336 -- Fixed typo in docs/ref/settings.txt.
Backport of e58c87cb70 from master
2017-06-27 21:42:39 -04:00
Sergey Fedoseev 812b24e98e [1.11.x] Fixed GEOSGeometry reference in GIS tutorial.
Backport of 964e490847 from master
2017-06-26 15:10:27 -04:00
Josh Schneier 7765d3ba9b [1.11.x] Fixed #28298 -- Prevented a primary key alteration from adding a foreign key constraint if db_constraint=False.
Backport of fba0eaa5d6 from master
2017-06-22 21:54:46 -04:00
aruseni 1de0da961e [1.11.x] Fixed typo in docs/ref/request-response.txt.
Backport of ad524980ac from master
2017-06-20 11:22:38 -04:00
Tim Graham a4c9eada2b [1.11.x] Fixed #28327 -- Removed contradictory description of mod_wsgi docs.
Backport of 2503ad5154 from master
2017-06-20 07:36:24 -04:00
François Freitag 712ce47e1a [1.11.x] Fixed #18485 -- Doc'd behavior of PostgreSQL when manually setting AutoField.
Backport of 4f1eb64ad0 from master
2017-06-19 09:25:32 -04:00
Tim Graham a3b1319d58 [1.11.x] Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template context.
Backport of 221e6e1817 from master
2017-06-17 18:33:01 -04:00
Tim Graham f0ec88fb63 [1.11.x] Fixed #28303 -- Prevented localization of attribute values in the DTL attrs.html widget template.
Backport of 3b050fd0d0 from master
2017-06-17 17:16:08 -04:00
Tim Graham f20168e873 [1.11.x] Fixed #28308 -- Doc'd removal of Select.render_option() (refs #15667).
Backport of f2b6986317 from master
2017-06-14 06:15:04 -04:00
Matthias Kestenholz a1c6c220e2 [1.11.x] Fixed #27434 -- Doc'd how to raise a model validation error for a field not in a model form.
Backport of e8c056c31a from master
2017-06-13 20:47:58 -04:00
Mikhail Golubev 16431b03f8 [1.11.x] Fixed #28229 -- Fixed the value of LoginView's "next" template variable.
Backport of e7dc39fb65 from master
2017-06-13 09:19:11 -04:00
orf f908e9d015 [1.11.x] Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet.
Backport of a118287bca from master
2017-06-13 08:34:49 -04:00
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
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
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 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 78975c453b [1.11.x] Added release date for 1.11.2.
Backport of 162778b8e2 from master
2017-06-01 11:11:48 -04:00